python2Packages: remove superfluous overrides

Since Python 2 is not supported anymore we only keep those overrides
which are used by leaf packages.
This commit is contained in:
Robert Schütz
2022-01-01 02:10:53 +01:00
committed by Martin Weinelt
parent 4beaf5301d
commit 2cae050057
219 changed files with 11 additions and 7813 deletions
@@ -1,10 +1,10 @@
{ lib
, isPy27
, buildPythonPackage
, fetchPypi
, setuptools-scm
, importlib-metadata
, typing ? null
, singledispatch ? null
, pythonOlder
, python
}:
@@ -12,6 +12,7 @@
buildPythonPackage rec {
pname = "importlib-resources";
version = "5.4.0";
disabled = isPy27;
src = fetchPypi {
pname = "importlib_resources";
@@ -25,8 +26,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [
importlib-metadata
] ++ lib.optional (pythonOlder "3.4") [
singledispatch
] ++ lib.optional (pythonOlder "3.5") [
typing
];