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:
parent
92682867ac
commit
fda93f9f11
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue