python3Packages.nipype: 1.3.1 -> 1.4.2, enable python3.8
This commit is contained in:
parent
24d2e3169a
commit
83f5fd8958
@ -31,6 +31,7 @@
|
|||||||
, xvfbwrapper
|
, xvfbwrapper
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, codecov
|
, codecov
|
||||||
|
, sphinx
|
||||||
# other dependencies
|
# other dependencies
|
||||||
, which
|
, which
|
||||||
, bash
|
, bash
|
||||||
@ -49,11 +50,11 @@ in
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nipype";
|
pname = "nipype";
|
||||||
version = "1.3.1";
|
version = "1.4.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "bb190964b568d64b04b73d2aa7eae31061fdbc3051d8c27bb34b1632db07ec71";
|
sha256 = "1nr0z0k4xx1vswkp03g1lf8141mr4j2fbwd7wmpay4vz46qcp786";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -61,6 +62,10 @@ buildPythonPackage rec {
|
|||||||
--replace "/usr/bin/env bash" "${bash}/bin/bash"
|
--replace "/usr/bin/env bash" "${bash}/bin/bash"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
sphinx
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
click
|
click
|
||||||
dateutil
|
dateutil
|
||||||
@ -102,15 +107,14 @@ buildPythonPackage rec {
|
|||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
# ignore tests which incorrect fail to detect xvfb
|
# ignore tests which incorrect fail to detect xvfb
|
||||||
checkPhase = ''
|
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; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://nipy.org/nipype/";
|
homepage = "https://nipy.org/nipype/";
|
||||||
description = "Neuroimaging in Python: Pipelines and Interfaces";
|
description = "Neuroimaging in Python: Pipelines and Interfaces";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ ashgillman ];
|
maintainers = with maintainers; [ ashgillman ];
|
||||||
# tests hang, blocking reviews of other packages
|
|
||||||
broken = isPy38;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user