Unverified Commit f533a761 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

python311Packages.pillow-heif: fix build on darwin
parents 2e6aa8fc 70b3bd16
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
{ 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";