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
1 changed files with 7 additions and 15 deletions

View File

@ -2,20 +2,20 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy3k , isPy3k
, bz2file
, mock
, nose
, numpy , numpy
, six , six
, bz2file
, nose
, mock
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "nibabel"; pname = "nibabel";
version = "2.4.1"; version = "2.5.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f165ff1cb4464902d6594eb2694e2cfb6f8b9fe233b856c976c3cff623ee0e17"; sha256 = "07v1gsq1v43v0z06cnp82ij9sqx3972c9bc6vsdj7pa9ddpa2yjw";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -25,16 +25,8 @@ buildPythonPackage rec {
checkInputs = [ nose mock ]; checkInputs = [ nose mock ];
checkPhase = let checkPhase = ''
excludeTests = lib.optionals isPy3k [ nosetests
# 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}
''; '';
meta = with lib; { meta = with lib; {