nixpkgs/pkgs/development/python-modules/htmlmin/default.nix

20 lines
580 B
Nix
Raw Normal View History

2017-04-17 08:50:57 +00:00
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "htmlmin";
2017-12-30 11:23:28 +00:00
version = "0.1.12";
2017-04-17 08:50:57 +00:00
src = fetchPypi {
inherit pname version;
2017-12-30 11:23:28 +00:00
sha256 = "50c1ef4630374a5d723900096a961cff426dff46b48f34d194a81bbe14eca178";
2017-04-17 08:50:57 +00: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];
};
}