summary refs log tree commit diff
path: root/pkgs/development/python-modules/nibabel
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-08-05 19:08:14 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2019-08-18 11:48:40 +0200
commit2087bc4bc2c0feda84dfc5114235034186bfc685 (patch)
tree46925184b7da03ea80a66d5f905176c35a35ccee /pkgs/development/python-modules/nibabel
parent70127bd216c0a0f4ef8c65972ab8056fbb6b643a (diff)
downloadnixpkgs-2087bc4bc2c0feda84dfc5114235034186bfc685.tar
nixpkgs-2087bc4bc2c0feda84dfc5114235034186bfc685.tar.gz
nixpkgs-2087bc4bc2c0feda84dfc5114235034186bfc685.tar.bz2
nixpkgs-2087bc4bc2c0feda84dfc5114235034186bfc685.tar.lz
nixpkgs-2087bc4bc2c0feda84dfc5114235034186bfc685.tar.xz
nixpkgs-2087bc4bc2c0feda84dfc5114235034186bfc685.tar.zst
nixpkgs-2087bc4bc2c0feda84dfc5114235034186bfc685.zip
pythonPackages.nibabel: 2.4.1 -> 2.5.0
Diffstat (limited to 'pkgs/development/python-modules/nibabel')
-rw-r--r--pkgs/development/python-modules/nibabel/default.nix22
1 files changed, 7 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/nibabel/default.nix b/pkgs/development/python-modules/nibabel/default.nix
index 76494c70b2e..365f741c57f 100644
--- a/pkgs/development/python-modules/nibabel/default.nix
+++ b/pkgs/development/python-modules/nibabel/default.nix
@@ -2,20 +2,20 @@
 , buildPythonPackage
 , fetchPypi
 , isPy3k
-, numpy
-, six
 , bz2file
-, nose
 , mock
+, nose
+, numpy
+, six
 }:
 
 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; {