1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5}: 6 7buildPythonPackage rec { 8 pname = "css-parser"; 9 version = "1.0.10"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-vx6XKtMzROkyBpZPtM2QjZ3e+fzQwB+pPg1zRnU5Q2M="; 15 }; 16 17 # Test suite not included in tarball yet 18 # See https://github.com/ebook-utils/css-parser/pull/2 19 doCheck = false; 20 21 pythonImportsCheck = [ "css_parser" ]; 22 23 meta = with lib; { 24 description = "CSS Cascading Style Sheets library for Python"; 25 homepage = "https://github.com/ebook-utils/css-parser"; 26 license = licenses.lgpl3Plus; 27 maintainers = with maintainers; [ jethro ]; 28 }; 29}