python3Packages.nipype: remove Python 2 support (dependency nibabel already unsupported)
This commit is contained in:
parent
00e3a3a855
commit
921b15efe7
@ -1,23 +1,19 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy3k
|
, isPy27
|
||||||
, isPy38
|
|
||||||
# python dependencies
|
# python dependencies
|
||||||
, click
|
, click
|
||||||
, configparser ? null
|
|
||||||
, dateutil
|
, dateutil
|
||||||
, etelemetry
|
, etelemetry
|
||||||
, filelock
|
, filelock
|
||||||
, funcsigs
|
, funcsigs
|
||||||
, future
|
, future
|
||||||
, futures
|
|
||||||
, mock
|
, mock
|
||||||
, networkx
|
, networkx
|
||||||
, nibabel
|
, nibabel
|
||||||
, numpy
|
, numpy
|
||||||
, packaging
|
, packaging
|
||||||
, pathlib2
|
|
||||||
, prov
|
, prov
|
||||||
, psutil
|
, psutil
|
||||||
, pybids
|
, pybids
|
||||||
@ -39,8 +35,6 @@
|
|||||||
, callPackage
|
, callPackage
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert !isPy3k -> configparser != null;
|
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
# This is a temporary convenience package for changes waiting to be merged into the primary rdflib repo.
|
# This is a temporary convenience package for changes waiting to be merged into the primary rdflib repo.
|
||||||
@ -51,6 +45,7 @@ in
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nipype";
|
pname = "nipype";
|
||||||
version = "1.5.1";
|
version = "1.5.1";
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
@ -85,10 +80,6 @@ buildPythonPackage rec {
|
|||||||
simplejson
|
simplejson
|
||||||
traits
|
traits
|
||||||
xvfbwrapper
|
xvfbwrapper
|
||||||
] ++ stdenv.lib.optionals (!isPy3k) [
|
|
||||||
configparser
|
|
||||||
futures
|
|
||||||
pathlib2 # darwin doesn't receive this transitively, but it is in install_requires
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user