Merge pull request #202146 from marsam/update-cssselect

python310Packages.cssselect: 1.1.0 -> 1.2.0
This commit is contained in:
Mario Rodas 2022-11-21 23:36:14 -05:00 committed by GitHub
commit d78abeea25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,42 @@
{ lib, buildPythonPackage, fetchPypi }: { lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, pytestCheckHook
, lxml
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "cssselect"; pname = "cssselect";
version = "1.1.0"; version = "1.2.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f95f8dedd925fd8f54edb3d2dfb44c190d9d18512377d3c1e2388d16126879bc"; sha256 = "666b19839cfaddb9ce9d36bfe4c969132c647b92fc9088c4e23f786b30f1b3dc";
}; };
# AttributeError: 'module' object has no attribute 'tests' nativeBuildInputs = [
doCheck = false; setuptools
];
checkInputs = [
pytestCheckHook
lxml
];
pythonImportsCheck = [
"cssselect"
];
meta = with lib; { meta = with lib; {
description = "CSS Selectors for Python";
homepage = "https://cssselect.readthedocs.io/";
changelog = "https://github.com/scrapy/cssselect/v${version}//CHANGES";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
}; };
} }