From 37fbc86e353a0b7f322c65a85d1e3a9fcddb99da Mon Sep 17 00:00:00 2001 From: krzygorz Date: Sun, 7 Feb 2021 18:40:36 +0100 Subject: 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. --- pkgs/development/python-modules/numba/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'pkgs/development/python-modules/numba') 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 = '' -- cgit 1.4.1