blob: 7ea6978b1cb5997affee0ac223b472656c80e33f (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, nose
, pytest
, numpy
, h5py
, pydicom
, scipy
}:
buildPythonPackage rec {
pname = "nibabel";
version = "3.0.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "40cc615801c8876306af1009a312f9c90752f1d79610fc1146917585b6f374dd";
};
propagatedBuildInputs = [ numpy scipy h5py pydicom ];
checkInputs = [ nose pytest ];
checkPhase = ''
nosetests
'';
meta = with lib; {
homepage = "https://nipy.org/nibabel";
description = "Access a multitude of neuroimaging data formats";
license = licenses.mit;
maintainers = with maintainers; [ ashgillman ];
platforms = platforms.x86_64; # https://github.com/nipy/nibabel/issues/861
};
}
|