python3Packages.cssselect2: remove superfluous dependencies
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user