python3Packages.zopfli: 0.2.0 -> 0.2.1
https://github.com/fonttools/py-zopfli/releases/tag/v0.2.1
This commit is contained in:
parent
480410be1a
commit
57c573971d
@ -1,12 +1,14 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, setuptools-scm, zopfli, pytest }:
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder, setuptools-scm, zopfli, pytestCheckHook }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zopfli";
|
pname = "zopfli";
|
||||||
version = "0.2.0";
|
version = "0.2.1";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-x9PzVcSR84TkNNsuYmheq269pmuWTonhdUuxFLLTjOo=";
|
sha256 = "1ipjkcgdbplsrhr31ypk48px8cax4cm9gcjj7yrcrhg20ql3s9p5";
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -15,8 +17,7 @@ buildPythonPackage rec {
|
|||||||
buildInputs = [ zopfli ];
|
buildInputs = [ zopfli ];
|
||||||
USE_SYSTEM_ZOPFLI = "True";
|
USE_SYSTEM_ZOPFLI = "True";
|
||||||
|
|
||||||
# doesn't work with pytestCheckHook
|
checkInputs = [ pytestCheckHook ];
|
||||||
checkInputs = [ pytest ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "cPython bindings for zopfli";
|
description = "cPython bindings for zopfli";
|
||||||
|
Loading…
Reference in New Issue
Block a user