mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
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:
parent
f80ef84960
commit
37fbc86e35
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user