Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / cssselect / default.nix
blob0accd8c6cbae1e5f54873430bffa56bb5dc45d15
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , setuptools
6 , pytestCheckHook
7 , lxml
8 }:
10 buildPythonPackage rec {
11   pname = "cssselect";
12   version = "1.2.0";
13   format = "pyproject";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "666b19839cfaddb9ce9d36bfe4c969132c647b92fc9088c4e23f786b30f1b3dc";
20   };
22   nativeBuildInputs = [
23     setuptools
24   ];
26   nativeCheckInputs = [
27     pytestCheckHook
28     lxml
29   ];
31   pythonImportsCheck = [
32     "cssselect"
33   ];
35   meta = with lib; {
36     description = "CSS Selectors for Python";
37     homepage = "https://cssselect.readthedocs.io/";
38     changelog = "https://github.com/scrapy/cssselect/v${version}//CHANGES";
39     license = licenses.bsd3;
40     maintainers = with maintainers; [ ];
41   };