aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/htmllaundry/default.nix
blob: df3bdb216a4fa8c66bf32696cc2dda873704fcf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv
, buildPythonPackage
, fetchPypi, nose
, six
, lxml
}:

buildPythonPackage rec {
  pname = "htmllaundry";
  version = "2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "e428cba78d5a965e959f5dac2eb7d5f7d627dd889990d5efa8d4e03f3dd768d9";
  };

  buildInputs = [ nose ];
  propagatedBuildInputs = [ six lxml ];

  # some tests fail, probably because of changes in lxml
  # not relevant for me, if releavnt for you, fix it...
  doCheck = false;

  meta = with stdenv.lib; {
    description = "Simple HTML cleanup utilities";
    license = licenses.bsd3;
    homepage = "https://pypi.org/project/htmllaundry/";
  };

}