Merge pull request #266580 from wegank/pillow-heif-darwin

python311Packages.pillow-heif: fix build on darwin
This commit is contained in:
Weijia Wang 2023-11-10 16:52:01 +01:00 committed by GitHub
commit f533a7618f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
@ -63,6 +64,12 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = lib.optionals stdenv.isDarwin [
# https://github.com/bigcat88/pillow_heif/issues/89
# not reproducible in nixpkgs
"test_opencv_crash"
];
meta = {
changelog = "https://github.com/bigcat88/pillow_heif/releases/tag/v${version}";
description = "Python library for working with HEIF images and plugin for Pillow";