python310Packages.cssselect: 1.1.0 -> 1.2.0

https://github.com/scrapy/cssselect/raw/v1.2.0/CHANGES
This commit is contained in:
Mario Rodas 2022-11-18 04:20:00 +00:00
parent 29352751cf
commit 9d0884c288

View File

@ -1,17 +1,42 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, pytestCheckHook
, lxml
}:
buildPythonPackage rec {
pname = "cssselect";
version = "1.1.0";
version = "1.2.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "f95f8dedd925fd8f54edb3d2dfb44c190d9d18512377d3c1e2388d16126879bc";
sha256 = "666b19839cfaddb9ce9d36bfe4c969132c647b92fc9088c4e23f786b30f1b3dc";
};
# AttributeError: 'module' object has no attribute 'tests'
doCheck = false;
nativeBuildInputs = [
setuptools
];
checkInputs = [
pytestCheckHook
lxml
];
pythonImportsCheck = [
"cssselect"
];
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; [ ];
};
}