2021-01-24 00:29:22 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
2017-04-17 09:50:57 +01:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "htmlmin";
|
2017-12-30 11:23:28 +00:00
|
|
|
version = "0.1.12";
|
2017-04-17 09:50:57 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 11:23:28 +00:00
|
|
|
sha256 = "50c1ef4630374a5d723900096a961cff426dff46b48f34d194a81bbe14eca178";
|
2017-04-17 09:50:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests run fine in a normal source checkout, but not when being built by nix.
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-24 00:29:22 +00:00
|
|
|
meta = with lib; {
|
2017-04-17 09:50:57 +01:00
|
|
|
description = "A configurable HTML Minifier with safety features";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/htmlmin";
|
2021-01-24 00:29:22 +00:00
|
|
|
license = licenses.bsd3;
|
2020-05-26 18:56:24 +01:00
|
|
|
maintainers = [];
|
2017-04-17 09:50:57 +01:00
|
|
|
};
|
|
|
|
}
|