at master 974 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 six, 7}: 8 9buildPythonPackage rec { 10 pname = "genshi"; 11 version = "0.7.9"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 pname = "Genshi"; 16 inherit version; 17 hash = "sha256-x2FwqLLcGJROCRUQPChMuInfzuNODhQLozY8gPdUGtI="; 18 }; 19 20 # FAIL: test_sanitize_remove_script_elem (genshi.filters.tests.html.HTMLSanitizerTestCase) 21 # FAIL: test_sanitize_remove_src_javascript (genshi.filters.tests.html.HTMLSanitizerTestCase) 22 doCheck = false; 23 24 propagatedBuildInputs = [ 25 setuptools 26 six 27 ]; 28 29 meta = with lib; { 30 description = "Python components for parsing HTML, XML and other textual content"; 31 longDescription = '' 32 Python library that provides an integrated set of components for 33 parsing, generating, and processing HTML, XML or other textual 34 content for output generation on the web. 35 ''; 36 homepage = "https://genshi.edgewall.org/"; 37 license = licenses.bsd0; 38 }; 39}