1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, numpy
5, nose
6, six
7}:
8
9buildPythonPackage rec {
10 pname = "nibabel";
11 version = "2.3.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "bf34aeb0f7ca52dc528ae4f842607cea307b334163857ff1d64d43068f637ada";
16 };
17
18 propagatedBuildInputs = [
19 numpy
20 nose
21 six
22 ];
23
24 # Failing tests
25 # nibabel.tests.test_minc1.test_old_namespace
26 # nibabel.gifti.tests.test_parse_gifti_fast.test_parse_dataarrays
27 # nibabel.gifti.tests.test_giftiio.test_read_deprecated
28 doCheck = false;
29
30 meta = with stdenv.lib; {
31 homepage = http://nipy.org/nibabel/;
32 description = "Access a multitude of neuroimaging data formats";
33 license = licenses.mit;
34 maintainers = with maintainers; [ ashgillman ];
35 };
36}