1{ stdenv, buildPythonPackage, fetchPypi }: 2buildPythonPackage rec { 3 pname = "htmlmin"; 4 version = "0.1.12"; 5 name = "${pname}-${version}"; 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "50c1ef4630374a5d723900096a961cff426dff46b48f34d194a81bbe14eca178"; 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}