blob: 1bc880456b6e1c9a4ccf56804a59737a1320bb19 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, buildPythonPackage, fetchPypi, setuptools-scm, zopfli, pytest }:
buildPythonPackage rec {
pname = "zopfli";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-x9PzVcSR84TkNNsuYmheq269pmuWTonhdUuxFLLTjOo=";
extension = "zip";
};
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ zopfli ];
USE_SYSTEM_ZOPFLI = "True";
# doesn't work with pytestCheckHook
checkInputs = [ pytest ];
meta = with lib; {
description = "cPython bindings for zopfli";
homepage = "https://github.com/obp/py-zopfli";
license = licenses.asl20;
maintainers = [ maintainers.sternenseemann ];
};
}
|