tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.xnatpy: init at 0.5.1
Ben Darwin
2 years ago
4d1f2a74
8fad4ad2
+52
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
xnatpy
default.nix
top-level
python-packages.nix
+50
pkgs/development/python-modules/xnatpy/default.nix
···
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchPypi
4
4
+
, pythonOlder
5
5
+
, setuptools
6
6
+
, click
7
7
+
, isodate
8
8
+
, progressbar2
9
9
+
, pydicom
10
10
+
, requests
11
11
+
}:
12
12
+
13
13
+
buildPythonPackage rec {
14
14
+
pname = "xnatpy";
15
15
+
version = "0.5.1";
16
16
+
format = "pyproject";
17
17
+
18
18
+
disabled = pythonOlder "3.7";
19
19
+
20
20
+
src = fetchPypi {
21
21
+
pname = "xnat";
22
22
+
inherit version;
23
23
+
hash = "sha256-iOw9cVWP5Am4S9JQ0NTmtew38KZiKmau+19K2KG2aKQ=";
24
24
+
};
25
25
+
26
26
+
nativeBuildInputs = [ setuptools ];
27
27
+
28
28
+
propagatedBuildInputs = [
29
29
+
click
30
30
+
isodate
31
31
+
progressbar2
32
32
+
pydicom
33
33
+
requests
34
34
+
];
35
35
+
36
36
+
# tests missing in PyPI dist and require network access and Docker container
37
37
+
doCheck = false;
38
38
+
39
39
+
pythonImportsCheck = [ "xnat" ];
40
40
+
41
41
+
meta = with lib; {
42
42
+
homepage = "https://xnat.readthedocs.io";
43
43
+
description =
44
44
+
"A new XNAT client (distinct from pyxnat) that exposes XNAT objects/functions as Python objects/functions";
45
45
+
changelog = "https://gitlab.com/radiology/infrastructure/xnatpy/-/blob/${version}/CHANGELOG?ref_type=tags";
46
46
+
license = licenses.asl20;
47
47
+
maintainers = with maintainers; [ bcdarwin ];
48
48
+
mainProgram = "xnat";
49
49
+
};
50
50
+
}
+2
pkgs/top-level/python-packages.nix
···
12932
12932
12933
12933
xmodem = callPackage ../development/python-modules/xmodem { };
12934
12934
12935
12935
+
xnatpy = callPackage ../development/python-modules/xnatpy { };
12936
12936
+
12935
12937
xnd = callPackage ../development/python-modules/xnd { };
12936
12938
12937
12939
xpath-expressions = callPackage ../development/python-modules/xpath-expressions { };