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