blob: 52e6141d014f7dcc1b24cebd9c7a37567d1c2e88 (
plain)
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
28
29
30
31
32
33
34
35
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools-scm,
zopfli,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "zopfli";
version = "0.2.3";
src = fetchPypi {
inherit pname version;
hash = "sha256-28mEG+3XNgQeteaYLNktqTvuFFdF9UIvN5X28ljNxu8=";
extension = "zip";
};
pyproject = true;
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ zopfli ];
USE_SYSTEM_ZOPFLI = "True";
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "CPython bindings for zopfli";
homepage = "https://github.com/obp/py-zopfli";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.sternenseemann ];
};
}
|