2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi, nose
|
|
|
|
, six
|
|
|
|
, lxml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "htmllaundry";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "9124f067d3c06ef2613e2cc246b2fde2299802280a8b0e60dc504137085f0334";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Simple HTML cleanup utilities";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = "https://pypi.org/project/htmllaundry/";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|