Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, tinycss2, pytestrunner, pytestcov, pytest-flake8, pytest-isort, glibcLocales }: 2 3buildPythonPackage rec { 4 pname = "cssselect2"; 5 version = "0.2.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "505d2ce3d3a1d390ddb52f7d0864b7efeb115a5b852a91861b498b92424503ab"; 10 }; 11 12 propagatedBuildInputs = [ tinycss2 ]; 13 14 checkInputs = [ pytestrunner pytestcov pytest-flake8 pytest-isort glibcLocales ]; 15 16 LC_ALL = "en_US.UTF-8"; 17 18 meta = with lib; { 19 description = "CSS selectors for Python ElementTree"; 20 homepage = https://github.com/Kozea/cssselect2; 21 license = licenses.bsd3; 22 }; 23}