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,43 +0,0 @@
{ lib
, appdirs
, buildPythonPackage
, fetchFromGitHub
, platformdirs
, pytest-mock
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "platformdirs";
version = "2.0.2";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "sha256-yCvfOPuX9hbQO9gbFHfeu+dGH+Vb9FM7wng1XU2D8hE=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
appdirs
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "platformdirs" ];
meta = with lib; {
description = "Python module for determining appropriate platform-specific directories";
homepage = "https://platformdirs.readthedocs.io/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}