1{ lib
2, buildPythonPackage
3, fetchPypi, nose
4, six
5, lxml
6}:
7
8buildPythonPackage rec {
9 pname = "htmllaundry";
10 version = "2.2";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "9124f067d3c06ef2613e2cc246b2fde2299802280a8b0e60dc504137085f0334";
15 };
16
17 buildInputs = [ nose ];
18 propagatedBuildInputs = [ six lxml ];
19
20 # some tests fail, probably because of changes in lxml
21 # not relevant for me, if releavnt for you, fix it...
22 doCheck = false;
23
24 meta = with lib; {
25 description = "Simple HTML cleanup utilities";
26 license = licenses.bsd3;
27 homepage = "https://pypi.org/project/htmllaundry/";
28 };
29
30}