importlib: disable for Python>2.6 and PyPy
importlib is part of the standard library for Python > 2.6 and PyPy. Tested with nix-shell for all *Packages.importlib versions.
This commit is contained in:
parent
6b866a37fc
commit
50aed1ee10
|
@ -6805,14 +6805,16 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
importlib = if isPy26 then (buildPythonPackage {
|
||||
importlib = buildPythonPackage rec {
|
||||
name = "importlib-1.0.2";
|
||||
|
||||
disabled = (!isPy26) || isPyPy;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://pypi.python.org/packages/source/i/importlib/importlib-1.0.2.tar.gz";
|
||||
md5 = "4aa23397da8bd7c7426864e88e4db7e1";
|
||||
};
|
||||
doCheck = false;
|
||||
}) else null;
|
||||
};
|
||||
|
||||
influxdb = buildPythonPackage rec {
|
||||
name = "influxdb-0.1.12";
|
||||
|
|
Loading…
Reference in New Issue