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
buildPythonPackage,
4
fetchFromGitHub,
5
pythonOlder,
0
6
numpy,
7
-
nptyping,
8
typing-extensions,
0
9
}:
10
11
buildPythonPackage rec {
12
pname = "pynrrd";
13
-
version = "1.0.0";
14
-
format = "setuptools";
15
16
disabled = pythonOlder "3.7";
17
···
19
owner = "mhe";
20
repo = pname;
21
rev = "refs/tags/v${version}";
22
-
hash = "sha256-R/bUItF2BaKTFdMNBHFJKq0jSX6z49e8CGXENUn07SU=";
23
};
24
25
-
propagatedBuildInputs = [
0
0
26
numpy
27
-
nptyping
28
typing-extensions
29
];
30
0
0
31
pythonImportsCheck = [ "nrrd" ];
32
33
-
meta = with lib; {
34
homepage = "https://github.com/mhe/pynrrd";
35
description = "Simple pure-Python reader for NRRD files";
36
-
license = licenses.mit;
37
-
maintainers = with maintainers; [ bcdarwin ];
0
38
};
39
}
···
3
buildPythonPackage,
4
fetchFromGitHub,
5
pythonOlder,
6
+
setuptools,
7
numpy,
0
8
typing-extensions,
9
+
pytestCheckHook,
10
}:
11
12
buildPythonPackage rec {
13
pname = "pynrrd";
14
+
version = "1.1.1";
15
+
pyproject = true;
16
17
disabled = pythonOlder "3.7";
18
···
20
owner = "mhe";
21
repo = pname;
22
rev = "refs/tags/v${version}";
23
+
hash = "sha256-B/G46/9Xf1LRu02p0X4/UeW1RYotSXKXRO9VZDPhkNU=";
24
};
25
26
+
build-system = [ setuptools ];
27
+
28
+
dependencies = [
29
numpy
0
30
typing-extensions
31
];
32
33
+
nativeCheckInputs = [ pytestCheckHook ];
34
+
35
pythonImportsCheck = [ "nrrd" ];
36
37
+
meta = {
38
homepage = "https://github.com/mhe/pynrrd";
39
description = "Simple pure-Python reader for NRRD files";
40
+
changelog = "https://github.com/mhe/pynrrd/releases/tag/v${version}";
41
+
license = lib.licenses.mit;
42
+
maintainers = with lib.maintainers; [ bcdarwin ];
43
};
44
}