1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "css-parser"; 8 version = "1.0.10"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-vx6XKtMzROkyBpZPtM2QjZ3e+fzQwB+pPg1zRnU5Q2M="; 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}