depot/third_party/nixpkgs/pkgs/development/python-modules/htmllaundry/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
641 B
Nix

{ 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/";
};
}