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,55 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, parameterized
, pytestCheckHook
, python-dateutil
, pytz
, regex
, tzlocal
, convertdate
, umalqurra
, jdatetime
, ruamel-yaml
}:
buildPythonPackage rec {
pname = "dateparser";
version = "0.7.6";
src = fetchFromGitHub {
owner = "scrapinghub";
repo = "dateparser";
rev = "v${version}";
sha256 = "0j3sm4hlx7z0ci5fnjq5n9i02vvlfz0wxa889ydryfknjhy5apqw";
};
checkInputs = [
mock
parameterized
pytestCheckHook
];
pytestFlagsArray = [ "tests" ];
disabledTestPaths = [
"tests/test_dateparser_data_integrity.py" # ImportError: No module named ruamel.yaml
];
propagatedBuildInputs = [
# install_requires
python-dateutil pytz regex tzlocal
# extra_requires
convertdate umalqurra jdatetime ruamel-yaml
];
pythonImportsCheck = [ "dateparser" ];
meta = with lib; {
description = "Date parsing library designed to parse dates from HTML pages";
homepage = "https://github.com/scrapinghub/dateparser";
license = licenses.bsd3;
maintainers = with maintainers; [ dotlambda ];
};
}