pythonPackage.nipype: fix build

`pythonPackages.prov` has been bumped to `1.5.2`, however `nipype`
pinned `prov` to `1.5.0`. Patching `nipype/info.py` fixes this issue by
bumping to the current `prov` version in nixpkgs.

See https://hydra.nixos.org/build/71817962/log
See ticket #36453
This commit is contained in:
Maximilian Bosch
2018-03-28 01:08:12 +02:00
parent cfd79b4d8a
commit db0fa06fce
2 changed files with 24 additions and 0 deletions

View File

@@ -36,6 +36,9 @@ buildPythonPackage rec {
sha256 = "47f62fda3d6b9a37aa407a6b78c80e91240aa71e61191ed00da68b02839fe258";
};
# see https://github.com/nipy/nipype/issues/2240
patches = [ ./prov-version.patch ];
doCheck = false; # fails with TypeError: None is not callable
checkInputs = [ which ];
buildInputs = [ pytest mock ]; # required in installPhase