python3Packages.cssselect2: remove superfluous dependencies

This commit is contained in:
Robert Schütz
2021-12-03 22:14:34 -08:00
parent 2a295f42c8
commit d112a3363a
@@ -3,11 +3,7 @@
, pythonOlder
, fetchPypi
, tinycss2
, pytest
, pytest-runner
, pytest-cov
, pytest-flake8
, pytest-isort
, pytestCheckHook
}:
buildPythonPackage rec {
@@ -20,9 +16,15 @@ buildPythonPackage rec {
sha256 = "93fbb9af860e95dd40bf18c3b2b6ed99189a07c0f29ba76f9c5be71344664ec8";
};
postPatch = ''
sed -i '/^addopts/d' pyproject.toml
'';
propagatedBuildInputs = [ tinycss2 ];
checkInputs = [ pytest pytest-runner pytest-cov pytest-flake8 pytest-isort ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cssselect2" ];
meta = with lib; {
description = "CSS selectors for Python ElementTree";