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