Skip to content

Commit bda6fca

Browse files
authored
python312Packages.pynrrd: 1.0.0 -> 1.1.1 (#360003)
2 parents 934cc07 + 4baf980 commit bda6fca

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

pkgs/development/python-modules/pynrrd/default.nix

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,42 @@
33
buildPythonPackage,
44
fetchFromGitHub,
55
pythonOlder,
6+
setuptools,
67
numpy,
7-
nptyping,
88
typing-extensions,
9+
pytestCheckHook,
910
}:
1011

1112
buildPythonPackage rec {
1213
pname = "pynrrd";
13-
version = "1.0.0";
14-
format = "setuptools";
14+
version = "1.1.1";
15+
pyproject = true;
1516

1617
disabled = pythonOlder "3.7";
1718

1819
src = fetchFromGitHub {
1920
owner = "mhe";
2021
repo = pname;
2122
rev = "refs/tags/v${version}";
22-
hash = "sha256-R/bUItF2BaKTFdMNBHFJKq0jSX6z49e8CGXENUn07SU=";
23+
hash = "sha256-B/G46/9Xf1LRu02p0X4/UeW1RYotSXKXRO9VZDPhkNU=";
2324
};
2425

25-
propagatedBuildInputs = [
26+
build-system = [ setuptools ];
27+
28+
dependencies = [
2629
numpy
27-
nptyping
2830
typing-extensions
2931
];
3032

33+
nativeCheckInputs = [ pytestCheckHook ];
34+
3135
pythonImportsCheck = [ "nrrd" ];
3236

33-
meta = with lib; {
37+
meta = {
3438
homepage = "https://github.com/mhe/pynrrd";
3539
description = "Simple pure-Python reader for NRRD files";
36-
license = licenses.mit;
37-
maintainers = with maintainers; [ bcdarwin ];
40+
changelog = "https://github.com/mhe/pynrrd/releases/tag/v${version}";
41+
license = lib.licenses.mit;
42+
maintainers = with lib.maintainers; [ bcdarwin ];
3843
};
3944
}

0 commit comments

Comments
 (0)