Loading pkgs/by-name/ow/owocr/package.nix +15 −5 Original line number Diff line number Diff line Loading @@ -3,18 +3,26 @@ python3Packages, fetchFromGitHub, }: python3Packages.buildPythonApplication { python3Packages.buildPythonApplication (finalAttrs: { pname = "owocr"; version = "1.22.8"; version = "1.26.3"; pyproject = true; src = fetchFromGitHub { owner = "AuroraWright"; repo = "owocr"; rev = "9b9c8b1b4f12a592877a66d727eb25a30462c177"; # no tags hash = "sha256-N9XbuoUbb1qxp/dFacpuDErh01oWmKRdTon3OvLaMfc="; tag = finalAttrs.version; hash = "sha256-/eee0uOWZgjHKhN3Ie75qxXqlSH1Fm3ipDYkvyIK5LM="; }; # we use pystray directly to avoid making a new package # that only carries a single patch for windows double click support. # pythonRelaxDeps was not successful in patching postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "pystrayfix>=0.19.8" "pystray" ''; build-system = [ python3Packages.setuptools ]; dependencies = with python3Packages; [ Loading @@ -40,6 +48,8 @@ python3Packages.buildPythonApplication { manga-ocr rapidocr requests # winRT OCR python3Packages.obsws-python python3Packages.pystray python3Packages.pynputfix curl-cffi pygobject3 Loading @@ -55,4 +65,4 @@ python3Packages.buildPythonApplication { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ sigmanificient ]; }; } }) Loading
pkgs/by-name/ow/owocr/package.nix +15 −5 Original line number Diff line number Diff line Loading @@ -3,18 +3,26 @@ python3Packages, fetchFromGitHub, }: python3Packages.buildPythonApplication { python3Packages.buildPythonApplication (finalAttrs: { pname = "owocr"; version = "1.22.8"; version = "1.26.3"; pyproject = true; src = fetchFromGitHub { owner = "AuroraWright"; repo = "owocr"; rev = "9b9c8b1b4f12a592877a66d727eb25a30462c177"; # no tags hash = "sha256-N9XbuoUbb1qxp/dFacpuDErh01oWmKRdTon3OvLaMfc="; tag = finalAttrs.version; hash = "sha256-/eee0uOWZgjHKhN3Ie75qxXqlSH1Fm3ipDYkvyIK5LM="; }; # we use pystray directly to avoid making a new package # that only carries a single patch for windows double click support. # pythonRelaxDeps was not successful in patching postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "pystrayfix>=0.19.8" "pystray" ''; build-system = [ python3Packages.setuptools ]; dependencies = with python3Packages; [ Loading @@ -40,6 +48,8 @@ python3Packages.buildPythonApplication { manga-ocr rapidocr requests # winRT OCR python3Packages.obsws-python python3Packages.pystray python3Packages.pynputfix curl-cffi pygobject3 Loading @@ -55,4 +65,4 @@ python3Packages.buildPythonApplication { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ sigmanificient ]; }; } })