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

20 lines
582 B
Nix
Raw Normal View History

2017-04-17 11:50:57 +03:00
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "htmlmin";
2017-12-30 14:23:28 +03:00
version = "0.1.12";
2017-04-17 11:50:57 +03:00
src = fetchPypi {
inherit pname version;
2017-12-30 14:23:28 +03:00
sha256 = "50c1ef4630374a5d723900096a961cff426dff46b48f34d194a81bbe14eca178";
2017-04-17 11:50:57 +03: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";
2017-04-17 11:50:57 +03:00
license = stdenv.lib.licenses.bsd3;
maintainers = [stdenv.lib.maintainers.ahmedtd];
};
}