From 4c4ce9b1d4cedbf514f4d20fdf60dffe49bda57d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 2 May 2023 09:42:48 +0200 Subject: [PATCH] python310Packages.glymur: 0.9.3 -> 0.12.4 Diff: https://github.com/quintusdias/glymur/compare/refs/tags/v0.9.3...v0.12.4 Changelog: https://github.com/quintusdias/glymur/blob/v0.12.4/CHANGES.txt --- .../python-modules/glymur/default.nix | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/glymur/default.nix b/pkgs/development/python-modules/glymur/default.nix index d5ce41271c9c..da240ce3f9d5 100644 --- a/pkgs/development/python-modules/glymur/default.nix +++ b/pkgs/development/python-modules/glymur/default.nix @@ -2,20 +2,19 @@ , stdenv , buildPythonPackage , fetchFromGitHub -, numpy -, scikitimage -, openjpeg -, procps -, pytestCheckHook -, importlib-resources -, pythonOlder , lxml +, numpy +, openjpeg +, pytestCheckHook +, pythonOlder +, scikitimage +, setuptools }: buildPythonPackage rec { pname = "glymur"; - version = "0.9.3"; - format = "setuptools"; + version = "0.12.4"; + format = "pyproject"; disabled = pythonOlder "3.6"; @@ -23,16 +22,19 @@ buildPythonPackage rec { owner = "quintusdias"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-ObczavqhBv4NzEd+ggzTAxGx92uxp6ABxLg8bEpXl/Y="; + hash = "sha256-H7aA1nHd8JI3+4dzZhu+GOv/0Y2KRdDkn6Fvc76ny/A="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ numpy ]; nativeCheckInputs = [ lxml - procps pytestCheckHook scikitimage ]; @@ -47,6 +49,7 @@ buildPythonPackage rec { # fsh systems by reading an .rc file and such, and is obviated by the patch # in postConfigure "tests/test_config.py" + "tests/test_tiff2jp2.py" ]; pythonImportsCheck = [