blob: 3f3d7a7a102bb896572a64a797b2dc2afc33adc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
numpy,
typing-extensions,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pynrrd";
version = "1.1.3";
pyproject = true;
src = fetchFromGitHub {
owner = "mhe";
repo = "pynrrd";
tag = "v${version}";
hash = "sha256-qu3s3XswJCUchqYfYMuqIzI4sfeXrttvXSEW9/GSENA=";
};
build-system = [ setuptools ];
dependencies = [
numpy
typing-extensions
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nrrd" ];
meta = {
homepage = "https://github.com/mhe/pynrrd";
description = "Simple pure-Python reader for NRRD files";
changelog = "https://github.com/mhe/pynrrd/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|