From 17c1d3e0b2f0ba578b8a6a16cc9ea0d2ee631025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 3 Apr 2022 03:47:47 +0000 Subject: [PATCH 1/2] python3Packages.pikepdf: 5.0.1 -> 5.1.1 https://github.com/pikepdf/pikepdf/blob/v5.1.1/docs/release_notes.rst --- pkgs/development/python-modules/pikepdf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pikepdf/default.nix b/pkgs/development/python-modules/pikepdf/default.nix index bef67237a89c..c311ac2c1e56 100644 --- a/pkgs/development/python-modules/pikepdf/default.nix +++ b/pkgs/development/python-modules/pikepdf/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { pname = "pikepdf"; - version = "5.0.1"; + version = "5.1.1"; disabled = ! isPy3k; src = fetchFromGitHub { @@ -38,7 +38,7 @@ buildPythonPackage rec { extraPostFetch = '' rm "$out/.git_archival.txt" ''; - hash = "sha256-PlfVvCEutWaNQyhP4j44viAmjvBzUlZUvUbYQPcNL24="; + hash = "sha256-LgF46DGVWNuUN2KGdfOGSokf4reDx55ay3gP2LO+4dY="; }; patches = [ From 03e460480e90fca799880616e42a7ace86c729a4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 3 Apr 2022 23:54:30 +0200 Subject: [PATCH 2/2] python3Packages.pikepdf: disable on older Python releases see https://github.com/pikepdf/pikepdf/blob/v5.1.1/setup.cfg#L43 --- pkgs/development/python-modules/pikepdf/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pikepdf/default.nix b/pkgs/development/python-modules/pikepdf/default.nix index c311ac2c1e56..bb8c2c385c23 100644 --- a/pkgs/development/python-modules/pikepdf/default.nix +++ b/pkgs/development/python-modules/pikepdf/default.nix @@ -4,7 +4,7 @@ , defusedxml , fetchFromGitHub , hypothesis -, isPy3k +, pythonOlder , jbig2dec , lxml , mupdf @@ -26,7 +26,9 @@ buildPythonPackage rec { pname = "pikepdf"; version = "5.1.1"; - disabled = ! isPy3k; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "pikepdf";