blob: aa43b5c313113a5d416b399dccd4094f204d1f7c (
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
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
cryptography,
nibabel,
numpy,
pydicom,
simpleitk,
}:
buildPythonPackage rec {
pname = "pymedio";
version = "0.2.14";
format = "setuptools";
src = fetchFromGitHub {
owner = "jcreinhold";
repo = "pymedio";
tag = "v${version}";
hash = "sha256-x3CHoWASDrUoCXfj73NF+0Y/3Mb31dK2Lh+o4OD9ryk=";
};
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [
pytestCheckHook
cryptography
nibabel
pydicom
simpleitk
];
pythonImportsCheck = [ "pymedio" ];
meta = {
description = "Read medical image files into Numpy arrays";
homepage = "https://github.com/jcreinhold/pymedio";
changelog = "https://github.com/jcreinhold/pymedio/blob/v${version}/HISTORY.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|