Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5}: 6 7buildPythonPackage rec { 8 pname = "htmlmin"; 9 version = "0.1.12"; 10 format = "setuptools"; 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "50c1ef4630374a5d723900096a961cff426dff46b48f34d194a81bbe14eca178"; 14 }; 15 16 # Tests run fine in a normal source checkout, but not when being built by nix. 17 doCheck = false; 18 19 meta = with lib; { 20 description = "Configurable HTML Minifier with safety features"; 21 mainProgram = "htmlmin"; 22 homepage = "https://pypi.python.org/pypi/htmlmin"; 23 license = licenses.bsd3; 24 maintainers = [ ]; 25 }; 26}