1{ lib, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "htmlmin"; 5 version = "0.1.12"; 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 = with lib; { 15 description = "A configurable HTML Minifier with safety features"; 16 homepage = "https://pypi.python.org/pypi/htmlmin"; 17 license = licenses.bsd3; 18 maintainers = []; 19 }; 20}