2017-04-17 09:50:57 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "htmlmin";
|
2017-12-30 11:23:28 +00:00
|
|
|
version = "0.1.12";
|
2017-04-17 09:50:57 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
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;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A configurable HTML Minifier with safety features";
|
|
|
|
homepage = https://pypi.python.org/pypi/htmlmin;
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = [stdenv.lib.maintainers.ahmedtd];
|
|
|
|
};
|
|
|
|
}
|