diff --git a/pkgs/development/python-modules/ocrmypdf/default.nix b/pkgs/development/python-modules/ocrmypdf/default.nix index 4c093aa74406..4f9149cc72b6 100644 --- a/pkgs/development/python-modules/ocrmypdf/default.nix +++ b/pkgs/development/python-modules/ocrmypdf/default.nix @@ -4,6 +4,8 @@ deprecation, fetchFromGitHub, ghostscript, + hatch-vcs, + hatchling, hypothesis, img2pdf, jbig2enc, @@ -19,7 +21,6 @@ pythonOlder, rich, reportlab, - setuptools-scm, substituteAll, tesseract, unpaper, @@ -28,7 +29,7 @@ buildPythonPackage rec { pname = "ocrmypdf"; - version = "16.4.3"; + version = "16.5.0"; disabled = pythonOlder "3.10"; @@ -44,7 +45,7 @@ buildPythonPackage rec { postFetch = '' rm "$out/.git_archival.txt" ''; - hash = "sha256-SHinfAWUqrPnHdDDXa1meVfxsyct17b1ak5U91GEc1w="; + hash = "sha256-jqe4BRW0U7gqcf+FtDWjDDvRStAqaEPTuU+B+BrFR5Y="; }; patches = [ @@ -59,7 +60,10 @@ buildPythonPackage rec { }) ]; - build-system = [ setuptools-scm ]; + build-system = [ + hatch-vcs + hatchling + ]; nativeBuildInputs = [ installShellFiles ];