1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

pythonPackages.nibabel: 2.4.1 -> 2.5.0

This commit is contained in:
Jonathan Ringer 2019-08-05 19:08:14 -07:00 committed by Frederik Rietdijk
parent 70127bd216
commit 2087bc4bc2

View file

@ -2,20 +2,20 @@
, buildPythonPackage
, fetchPypi
, isPy3k
, bz2file
, mock
, nose
, numpy
, six
, bz2file
, nose
, mock
}:
buildPythonPackage rec {
pname = "nibabel";
version = "2.4.1";
version = "2.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "f165ff1cb4464902d6594eb2694e2cfb6f8b9fe233b856c976c3cff623ee0e17";
sha256 = "07v1gsq1v43v0z06cnp82ij9sqx3972c9bc6vsdj7pa9ddpa2yjw";
};
propagatedBuildInputs = [
@ -25,16 +25,8 @@ buildPythonPackage rec {
checkInputs = [ nose mock ];
checkPhase = let
excludeTests = lib.optionals isPy3k [
# https://github.com/nipy/nibabel/issues/691
"nibabel.gifti.tests.test_giftiio.test_read_deprecated"
"nibabel.gifti.tests.test_parse_gifti_fast.test_parse_dataarrays"
"nibabel.tests.test_minc1.test_old_namespace"
];
# TODO: Add --with-doctest once all doctests pass
in ''
nosetests ${lib.concatMapStrings (test: "-e '${test}' ") excludeTests}
checkPhase = ''
nosetests
'';
meta = with lib; {