Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 22 lines 548 B view raw
1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "zopfli"; 5 version = "0.1.8"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "8b977dc07e3797907ab59e08096583bcd0b7e6c739849fbbeec09263f6356623"; 10 extension = "zip"; 11 }; 12 13 # doesn't work with pytestCheckHook 14 checkInputs = [ pytest ]; 15 16 meta = with lib; { 17 description = "cPython bindings for zopfli"; 18 homepage = "https://github.com/obp/py-zopfli"; 19 license = licenses.asl20; 20 maintainers = [ maintainers.sternenseemann ]; 21 }; 22}