Merge pull request #142221 from sternenseemann/zopfli-0.1.9

This commit is contained in:
Sandro 2021-11-04 22:43:05 +01:00 committed by GitHub
commit c12e3c1143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions

View File

@ -1,15 +1,20 @@
{ lib, buildPythonPackage, fetchPypi, pytest }:
{ lib, buildPythonPackage, fetchPypi, setuptools-scm, zopfli, pytest }:
buildPythonPackage rec {
pname = "zopfli";
version = "0.1.8";
version = "0.1.9";
src = fetchPypi {
inherit pname version;
sha256 = "8b977dc07e3797907ab59e08096583bcd0b7e6c739849fbbeec09263f6356623";
sha256 = "78de3cc08a8efaa8013d61528907d91ac4d6cc014ffd8a41cc10ee75e9e60d7b";
extension = "zip";
};
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ zopfli ];
USE_SYSTEM_ZOPFLI = "True";
# doesn't work with pytestCheckHook
checkInputs = [ pytest ];

View File

@ -10211,7 +10211,9 @@ in {
zope_testrunner = callPackage ../development/python-modules/zope_testrunner { };
zopfli = callPackage ../development/python-modules/zopfli { };
zopfli = callPackage ../development/python-modules/zopfli {
inherit (pkgs) zopfli;
};
zstandard = callPackage ../development/python-modules/zstandard { };