1{ stdenv, buildPythonPackage, fetchPypi }:
2buildPythonPackage rec {
3 pname = "htmlmin";
4 version = "0.1.10";
5 name = "${pname}-${version}";
6 src = fetchPypi {
7 inherit pname version;
8 sha256 = "ca5c5dfbb0fa58562e5cbc8dc026047f6cb431d4333504b11853853be448aa63";
9 };
10
11 # Tests run fine in a normal source checkout, but not when being built by nix.
12 doCheck = false;
13
14 meta = {
15 description = "A configurable HTML Minifier with safety features";
16 homepage = https://pypi.python.org/pypi/htmlmin;
17 license = stdenv.lib.licenses.bsd3;
18 maintainers = [stdenv.lib.maintainers.ahmedtd];
19 };
20}