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