python3Packages.nipype: 1.3.1 -> 1.4.2, enable python3.8

This commit is contained in:
Jonathan Ringer 2020-05-04 21:36:05 -07:00 committed by Jon
parent 24d2e3169a
commit 83f5fd8958

View File

@ -31,6 +31,7 @@
, xvfbwrapper
, pytestcov
, codecov
, sphinx
# other dependencies
, which
, bash
@ -49,11 +50,11 @@ in
buildPythonPackage rec {
pname = "nipype";
version = "1.3.1";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "bb190964b568d64b04b73d2aa7eae31061fdbc3051d8c27bb34b1632db07ec71";
sha256 = "1nr0z0k4xx1vswkp03g1lf8141mr4j2fbwd7wmpay4vz46qcp786";
};
postPatch = ''
@ -61,6 +62,10 @@ buildPythonPackage rec {
--replace "/usr/bin/env bash" "${bash}/bin/bash"
'';
nativeBuildInputs = [
sphinx
];
propagatedBuildInputs = [
click
dateutil
@ -102,15 +107,14 @@ buildPythonPackage rec {
doCheck = !stdenv.isDarwin;
# ignore tests which incorrect fail to detect xvfb
checkPhase = ''
LC_ALL="en_US.UTF-8" pytest -v nipype -k 'not display'
LC_ALL="en_US.UTF-8" pytest nipype/tests -k 'not display'
'';
pythonImportsCheck = [ "nipype" ];
meta = with stdenv.lib; {
homepage = "https://nipy.org/nipype/";
description = "Neuroimaging in Python: Pipelines and Interfaces";
license = licenses.bsd3;
maintainers = with maintainers; [ ashgillman ];
# tests hang, blocking reviews of other packages
broken = isPy38;
};
}