2018-10-16 21:56:52 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi, nose
|
|
|
|
, six
|
|
|
|
, lxml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "htmllaundry";
|
2020-06-06 07:47:12 +01:00
|
|
|
version = "2.2";
|
2018-10-16 21:56:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:12 +01:00
|
|
|
sha256 = "9124f067d3c06ef2613e2cc246b2fde2299802280a8b0e60dc504137085f0334";
|
2018-10-16 21:56:52 +01: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;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple HTML cleanup utilities";
|
|
|
|
license = licenses.bsd3;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.org/project/htmllaundry/";
|
2018-10-16 21:56:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|