nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 687 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pytestCheckHook, 7 lxml, 8}: 9 10buildPythonPackage rec { 11 pname = "cssselect"; 12 version = "1.3.0"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-V/iplCTPqyiaG2qBakMHWksAlIyGtNzz707n4V96sMc="; 18 }; 19 20 nativeBuildInputs = [ setuptools ]; 21 22 nativeCheckInputs = [ 23 pytestCheckHook 24 lxml 25 ]; 26 27 pythonImportsCheck = [ "cssselect" ]; 28 29 meta = { 30 description = "CSS Selectors for Python"; 31 homepage = "https://cssselect.readthedocs.io/"; 32 changelog = "https://github.com/scrapy/cssselect/v${version}//CHANGES"; 33 license = lib.licenses.bsd3; 34 maintainers = [ ]; 35 }; 36}