Unverified Commit fda93f9f authored by evils's avatar evils Committed by GitHub
Browse files

liquidctl: fix test for pillow ≥ 10.2.0 (#288085)

* liquidctl: fix test for pillow ≥ 10.2.0

issue described upstream in
  https://github.com/liquidctl/liquidctl/issues/661
parent 92682867
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
, colorlog
, crcmod
, pillow
, fetchpatch
}:

buildPythonPackage rec {
@@ -31,6 +32,14 @@ buildPythonPackage rec {
    hash = "sha256-LU8rQmXrEIoOBTTFotGvMeHqksYGrtNo2YSl2l2e/UI=";
  };

  patches = [
    (fetchpatch {
      name = "tests-pillow-10.2.0-compat.patch";
      url = "https://github.com/liquidctl/liquidctl/commit/c50afa4e610bd2e268e85c347e2644794c817a78.diff";
      hash = "sha256-1cKk3drl3RybHmnPXdlJoeYK6UDz25jHSS2YS/XLHIY=";
    })
  ];

  nativeBuildInputs = [
    installShellFiles
    setuptools