tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.pynrrd: 1.0.0 -> 1.1.1
Ben Darwin
1 year ago
4baf980b
1635ae0b
+14
-9
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pynrrd
default.nix
+14
-9
pkgs/development/python-modules/pynrrd/default.nix
···
3
3
buildPythonPackage,
4
4
fetchFromGitHub,
5
5
pythonOlder,
6
6
+
setuptools,
6
7
numpy,
7
7
-
nptyping,
8
8
typing-extensions,
9
9
+
pytestCheckHook,
9
10
}:
10
11
11
12
buildPythonPackage rec {
12
13
pname = "pynrrd";
13
13
-
version = "1.0.0";
14
14
-
format = "setuptools";
14
14
+
version = "1.1.1";
15
15
+
pyproject = true;
15
16
16
17
disabled = pythonOlder "3.7";
17
18
···
19
20
owner = "mhe";
20
21
repo = pname;
21
22
rev = "refs/tags/v${version}";
22
22
-
hash = "sha256-R/bUItF2BaKTFdMNBHFJKq0jSX6z49e8CGXENUn07SU=";
23
23
+
hash = "sha256-B/G46/9Xf1LRu02p0X4/UeW1RYotSXKXRO9VZDPhkNU=";
23
24
};
24
25
25
25
-
propagatedBuildInputs = [
26
26
+
build-system = [ setuptools ];
27
27
+
28
28
+
dependencies = [
26
29
numpy
27
27
-
nptyping
28
30
typing-extensions
29
31
];
30
32
33
33
+
nativeCheckInputs = [ pytestCheckHook ];
34
34
+
31
35
pythonImportsCheck = [ "nrrd" ];
32
36
33
33
-
meta = with lib; {
37
37
+
meta = {
34
38
homepage = "https://github.com/mhe/pynrrd";
35
39
description = "Simple pure-Python reader for NRRD files";
36
36
-
license = licenses.mit;
37
37
-
maintainers = with maintainers; [ bcdarwin ];
40
40
+
changelog = "https://github.com/mhe/pynrrd/releases/tag/v${version}";
41
41
+
license = lib.licenses.mit;
42
42
+
maintainers = with lib.maintainers; [ bcdarwin ];
38
43
};
39
44
}