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