2017-04-17 10:50:57 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "htmlmin";
|
2017-10-25 20:04:35 +02:00
|
|
|
version = "0.1.11";
|
2017-04-17 10:50:57 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 20:04:35 +02:00
|
|
|
sha256 = "f27fb96fdddeb1725ee077be532c7bea23288c69d0e996e7798f24fae7a14e5e";
|
2017-04-17 10:50:57 +02: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];
|
|
|
|
};
|
|
|
|
}
|