Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / genshi / default.nix
blobc476960bbf8362afa7849c6baf59b25fcbaff50f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools
5 , six
6 }:
8 buildPythonPackage rec {
9   pname = "Genshi";
10   version = "0.7.5";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "c12d6c2abf7df0ec661d9ff2e197522eae846e43dc58abd5a36443d05bc41135";
15   };
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;
21   propagatedBuildInputs = [
22     setuptools six
23   ];
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   };