2018-01-16 14:28:55 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, nose
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nibabel";
|
2018-06-21 07:37:17 +02:00
|
|
|
version = "2.3.0";
|
2018-01-16 14:28:55 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-21 07:37:17 +02:00
|
|
|
sha256 = "bf34aeb0f7ca52dc528ae4f842607cea307b334163857ff1d64d43068f637ada";
|
2018-01-16 14:28:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
nose
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
# Failing tests
|
|
|
|
# nibabel.tests.test_minc1.test_old_namespace
|
|
|
|
# nibabel.gifti.tests.test_parse_gifti_fast.test_parse_dataarrays
|
|
|
|
# nibabel.gifti.tests.test_giftiio.test_read_deprecated
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://nipy.org/nibabel/;
|
|
|
|
description = "Access a multitude of neuroimaging data formats";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ashgillman ];
|
|
|
|
};
|
|
|
|
}
|