From 837414b563001b3f9c3a5adbfa9d77bb0be895df Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 3 Sep 2024 11:13:04 +0000 Subject: [PATCH] python312Packages.ocrmypdf: 16.4.3 -> 16.5.0 Diff: https://github.com/ocrmypdf/OCRmyPDF/compare/v16.4.3...v16.5.0 Changelog: https://github.com/ocrmypdf/OCRmyPDF/blob/v16.5.0/docs/release_notes.rst --- pkgs/development/python-modules/ocrmypdf/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 ];