@@ -30,21 +30,28 @@
3030, which
3131, bash
3232, glibcLocales
33+, callPackage
3334}:
3435
3536assert !isPy3k -> configparser != null;
3637
38+let
39+
40+ # This is a temporary convenience package for changes waiting to be merged into the primary rdflib repo.
41+ neurdflib = callPackage ./neurdflib.nix { };
42+
43+in
44+
3745buildPythonPackage rec {
3846 pname = "nipype";
39− version = "1.1.5";
47+ version = "1.1.7";
4048
4149 src = fetchPypi {
4250 inherit pname version;
43− sha256 = "d49bbe531cdbf0a049f1581e4d3c63231ff5978445cb380aa6e7f8f1d256a29c";
51+ sha256 = "0iyi5w2h42bpssqj52ixm2kxp56yxfxdacb6xv5r24yv3hmwd4yn";
4452 };
4553
46− # see https://github.com/nipy/nipype/issues/2240
47− patches = [ ./prov-version.patch ];
54+ patches = [ ./move-uneeded-requires.patch ];
4855
4956 postPatch = ''
5057 substituteInPlace nipype/interfaces/base/tests/test_core.py \
@@ -57,6 +64,7 @@ buildPythonPackage rec {
5764 funcsigs
5865 future
5966 networkx
67+ neurdflib
6068 nibabel
6169 numpy
6270 packaging
@@ -72,12 +80,24 @@ buildPythonPackage rec {
7280 futures
7381 ];
7482
75− checkInputs = [ pytest mock pytestcov pytest_xdist pytest-forked codecov which glibcLocales ];
83+ checkInputs = [
84+ codecov
85+ glibcLocales
86+ mock
87+ pytest
88+ pytest-forked
89+ pytest_xdist
90+ pytestcov
91+ which
92+ ];
7693
7794 checkPhase = ''
78− LC_ALL="en_US.UTF-8" py.test -v --doctest-modules nipype
95+ LC_ALL="en_US.UTF-8" pytest -v --doctest-modules nipype
7996 '';
8097
98+ # See: https://github.com/nipy/nipype/issues/2839
99+ doCheck = false;
100+
81101 meta = with stdenv.lib; {
82102 homepage = http://nipy.org/nipype/;
83103 description = "Neuroimaging in Python: Pipelines and Interfaces";