Skip to content

Commit

Permalink
python3Packages.nipype: remove Python 2 support (dependency nibabel a…
Browse files Browse the repository at this point in the history
…lready unsupported)
  • Loading branch information
bcdarwin committed Oct 7, 2020
1 parent 00e3a3a commit 921b15e
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pkgs/development/python-modules/nipype/default.nix
@@ -1,23 +1,19 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, isPy38
, isPy27
# python dependencies
, click
, configparser ? null
, dateutil
, etelemetry
, filelock
, funcsigs
, future
, futures
, mock
, networkx
, nibabel
, numpy
, packaging
, pathlib2
, prov
, psutil
, pybids
Expand All @@ -39,8 +35,6 @@
, callPackage
}:

assert !isPy3k -> configparser != null;

let

# This is a temporary convenience package for changes waiting to be merged into the primary rdflib repo.
Expand All @@ -51,6 +45,7 @@ in
buildPythonPackage rec {
pname = "nipype";
version = "1.5.1";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
Expand Down Expand Up @@ -85,10 +80,6 @@ buildPythonPackage rec {
simplejson
traits
xvfbwrapper
] ++ stdenv.lib.optionals (!isPy3k) [
configparser
futures
pathlib2 # darwin doesn't receive this transitively, but it is in install_requires
];

checkInputs = [
Expand Down

0 comments on commit 921b15e

Please sign in to comment.