blob: 1a4f528ec11e93ceb24cf34eece4b13ec5a73098 (
plain) (
blame)
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
45
46
47
48
49
50
51
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, pytest-localserver
, numpy
, pillow
, pydicom
, requests
, retrying
}:
buildPythonPackage rec {
pname = "dicomweb-client";
version = "0.59.1";
disabled = pythonOlder "3.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "ImagingDataCommons";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-h9gFCBmutTGNJ3wP2AGPfiUtA49yywUlNKiSh/x9kFE=";
};
propagatedBuildInputs = [
numpy
pillow
pydicom
requests
retrying
];
nativeCheckInputs = [
pytestCheckHook
pytest-localserver
];
pythonImportsCheck = [
"dicomweb_client"
];
meta = with lib; {
description = "Python client for DICOMweb RESTful services";
homepage = "https://dicomweb-client.readthedocs.io";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
mainProgram = "dicomweb_client";
};
}
|