@@ -22,7 +22,10 @@ let
|
||||
|
||||
namePrefix = python.libPrefix + "-";
|
||||
|
||||
bootstrapped-pip = callPackage ../development/python-modules/bootstrapped-pip { };
|
||||
bootstrapped-pip = if isPy3k then
|
||||
callPackage ../development/python-modules/bootstrapped-pip { }
|
||||
else
|
||||
callPackage ../development/python-modules/bootstrapped-pip/2.nix { };
|
||||
|
||||
# Derivations built with `buildPythonPackage` can already be overriden with `override`, `overrideAttrs`, and `overrideDerivation`.
|
||||
# This function introduces `overridePythonAttrs` and it overrides the call to `buildPythonPackage`.
|
||||
@@ -5162,7 +5165,10 @@ in {
|
||||
|
||||
pint = callPackage ../development/python-modules/pint { };
|
||||
|
||||
pip = callPackage ../development/python-modules/pip { };
|
||||
pip = if isPy3k then
|
||||
callPackage ../development/python-modules/pip { }
|
||||
else
|
||||
callPackage ../development/python-modules/pip/20.nix { };
|
||||
|
||||
pipdate = callPackage ../development/python-modules/pipdate { };
|
||||
|
||||
@@ -6454,18 +6460,24 @@ in {
|
||||
|
||||
pytest_5 = callPackage
|
||||
../development/python-modules/pytest/5.nix {
|
||||
# hypothesis tests require pytest that causes dependency cycle
|
||||
# hypothesis & pygments tests require pytest that causes dependency cycle
|
||||
hypothesis = self.hypothesis.override {
|
||||
doCheck = false;
|
||||
};
|
||||
pygments = self.pygments.override {
|
||||
doCheck = false;
|
||||
};
|
||||
};
|
||||
|
||||
pytest_6 =
|
||||
callPackage ../development/python-modules/pytest {
|
||||
# hypothesis tests require pytest that causes dependency cycle
|
||||
# hypothesis & pygments tests require pytest that causes dependency cycle
|
||||
hypothesis = self.hypothesis.override {
|
||||
doCheck = false;
|
||||
};
|
||||
pygments = self.pygments.override {
|
||||
doCheck = false;
|
||||
};
|
||||
};
|
||||
|
||||
pytest_6_1 = self.pytest_6.overridePythonAttrs (oldAttrs: rec {
|
||||
@@ -8159,9 +8171,13 @@ in {
|
||||
tableaudocumentapi = callPackage ../development/python-modules/tableaudocumentapi { };
|
||||
|
||||
tables = if isPy3k then
|
||||
callPackage ../development/python-modules/tables { }
|
||||
callPackage ../development/python-modules/tables {
|
||||
hdf5 = pkgs.hdf5_1_10;
|
||||
}
|
||||
else
|
||||
callPackage ../development/python-modules/tables/3.5.nix { };
|
||||
callPackage ../development/python-modules/tables/3.5.nix {
|
||||
hdf5 = pkgs.hdf5_1_10;
|
||||
};
|
||||
|
||||
tablib = callPackage ../development/python-modules/tablib { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user