From 4baf980b7bb8edad49ee1a195e6053f656faadfc Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Thu, 28 Nov 2024 18:02:23 -0500 Subject: [PATCH] python312Packages.pynrrd: 1.0.0 -> 1.1.1 --- .../python-modules/pynrrd/default.nix | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pynrrd/default.nix b/pkgs/development/python-modules/pynrrd/default.nix index 9be59daec1f5..2416e3175478 100644 --- a/pkgs/development/python-modules/pynrrd/default.nix +++ b/pkgs/development/python-modules/pynrrd/default.nix @@ -3,15 +3,16 @@ buildPythonPackage, fetchFromGitHub, pythonOlder, + setuptools, numpy, - nptyping, typing-extensions, + pytestCheckHook, }: buildPythonPackage rec { pname = "pynrrd"; - version = "1.0.0"; - format = "setuptools"; + version = "1.1.1"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -19,21 +20,25 @@ buildPythonPackage rec { owner = "mhe"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-R/bUItF2BaKTFdMNBHFJKq0jSX6z49e8CGXENUn07SU="; + hash = "sha256-B/G46/9Xf1LRu02p0X4/UeW1RYotSXKXRO9VZDPhkNU="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ numpy - nptyping typing-extensions ]; + nativeCheckInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "nrrd" ]; - meta = with lib; { + meta = { homepage = "https://github.com/mhe/pynrrd"; description = "Simple pure-Python reader for NRRD files"; - license = licenses.mit; - maintainers = with maintainers; [ bcdarwin ]; + changelog = "https://github.com/mhe/pynrrd/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ bcdarwin ]; }; }