3
0
Fork 0
forked from mirrors/nixpkgs

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
This commit is contained in:
evils 2024-02-12 16:23:52 +01:00 committed by GitHub
parent 92682867ac
commit fda93f9f11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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