repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git]
/
pkgs
/
development
/
python-modules
/
simpleitk
/
default.nix
blob
e15a2a7a726d65ca3fa4d318558cf219ff0fa6f2
1
{
2
buildPythonPackage,
3
pythonOlder,
4
cmake,
5
swig,
6
elastix,
7
itk,
8
numpy,
9
simpleitk,
10
scikit-build,
11
}:
12
13
buildPythonPackage rec {
14
inherit (simpleitk)
15
pname
16
version
17
src
18
meta
19
;
20
format = "pyproject";
21
disabled = pythonOlder "3.8";
22
23
sourceRoot = "${src.name}/Wrapping/Python";
24
preBuild = ''
25
make
26
'';
27
28
nativeBuildInputs = [
29
cmake
30
swig
31
scikit-build
32
];
33
propagatedBuildInputs = [
34
elastix
35
itk
36
simpleitk
37
numpy
38
];
39
40
pythonImportsCheck = [ "SimpleITK" ];
41
}