2020-08-24 11:07:18 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zopfli";
|
2021-04-03 13:43:52 +01:00
|
|
|
version = "0.1.8";
|
2020-08-24 11:07:18 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-03 13:43:52 +01:00
|
|
|
sha256 = "8b977dc07e3797907ab59e08096583bcd0b7e6c739849fbbeec09263f6356623";
|
2020-08-24 11:07:18 +01:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
2021-04-03 13:43:52 +01:00
|
|
|
# doesn't work with pytestCheckHook
|
2020-08-24 11:07:18 +01:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "cPython bindings for zopfli";
|
|
|
|
homepage = "https://github.com/obp/py-zopfli";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|