nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 30 lines 680 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "css-parser"; 8 version = "1.0.7"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "25e096c63262dd249010ce36dab4cacd9595783ee09b5ed699ef12ab864ebbd1"; 14 }; 15 16 # Test suite not included in tarball yet 17 # See https://github.com/ebook-utils/css-parser/pull/2 18 doCheck = false; 19 20 pythonImportsCheck = [ 21 "css_parser" 22 ]; 23 24 meta = with lib; { 25 description = "A CSS Cascading Style Sheets library for Python"; 26 homepage = "https://github.com/ebook-utils/css-parser"; 27 license = licenses.lgpl3Plus; 28 maintainers = with maintainers; [ jethro ]; 29 }; 30}