summary refs log tree commit diff
path: root/pkgs/development/python-modules/numba
diff options
context:
space:
mode:
authorkrzygorz <krzygorz@gmail.com>2021-02-07 18:40:36 +0100
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2021-02-20 11:32:22 +0100
commit37fbc86e353a0b7f322c65a85d1e3a9fcddb99da (patch)
tree2233c50ec64caedbe0a73665576af755a4f16dd7 /pkgs/development/python-modules/numba
parentf80ef8496037ac9a77f58ba711af78dfbf45970f (diff)
downloadnixpkgs-37fbc86e353a0b7f322c65a85d1e3a9fcddb99da.tar
nixpkgs-37fbc86e353a0b7f322c65a85d1e3a9fcddb99da.tar.gz
nixpkgs-37fbc86e353a0b7f322c65a85d1e3a9fcddb99da.tar.bz2
nixpkgs-37fbc86e353a0b7f322c65a85d1e3a9fcddb99da.tar.lz
nixpkgs-37fbc86e353a0b7f322c65a85d1e3a9fcddb99da.tar.xz
nixpkgs-37fbc86e353a0b7f322c65a85d1e3a9fcddb99da.tar.zst
nixpkgs-37fbc86e353a0b7f322c65a85d1e3a9fcddb99da.zip
python3Packages.numba: clean up dependencies
Since the package is declared to be incompatibile with python versions older than 3.6 the `lib.optionals isPy27 [ funcsigs singledispatch]` part is redundant.
Diffstat (limited to 'pkgs/development/python-modules/numba')
-rw-r--r--pkgs/development/python-modules/numba/default.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/numba/default.nix b/pkgs/development/python-modules/numba/default.nix
index 0203a70a597..ebf3796cd32 100644
--- a/pkgs/development/python-modules/numba/default.nix
+++ b/pkgs/development/python-modules/numba/default.nix
@@ -4,13 +4,9 @@
 , fetchPypi
 , python
 , buildPythonPackage
-, isPy27
-, isPy3k
 , numpy
 , llvmlite
 , setuptools
-, funcsigs
-, singledispatch
 , libcxx
 }:
 
@@ -27,8 +23,7 @@ buildPythonPackage rec {
 
   NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
 
-  propagatedBuildInputs = [numpy llvmlite setuptools]
-    ++ lib.optionals isPy27 [ funcsigs singledispatch];
+  propagatedBuildInputs = [numpy llvmlite setuptools];
 
   # Copy test script into $out and run the test suite.
   checkPhase = ''