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.
This commit is contained in:
krzygorz 2021-02-07 18:40:36 +01:00 committed by Frederik Rietdijk
parent f80ef84960
commit 37fbc86e35

View file

@ -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 = ''