applet-window-buttons: backport build fixes for Plasma 5.27

This commit is contained in:
K900 2023-02-14 14:07:07 +03:00
parent ebd78ed69f
commit c3f2eb7dba

View file

@ -1,6 +1,7 @@
{ lib { lib
, mkDerivation , mkDerivation
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cmake , cmake
, extra-cmake-modules , extra-cmake-modules
, kcoreaddons , kcoreaddons
@ -20,6 +21,14 @@ mkDerivation rec {
hash = "sha256-Qww/22bEmjuq+R3o0UDcS6U+34qjaeSEy+g681/hcfE="; hash = "sha256-Qww/22bEmjuq+R3o0UDcS6U+34qjaeSEy+g681/hcfE=";
}; };
patches = [
# FIXME: cherry-pick Plasma 5.27 build fix, remove for next release
(fetchpatch {
url = "https://github.com/psifidotos/applet-window-buttons/commit/924994e10402921bf22fefc099bca2914989081c.diff";
hash = "sha256-4ErqmkIbkvKwns50LhI8Et1EMyvrXYcNRL1rXCxau2w=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
extra-cmake-modules extra-cmake-modules