forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / libraries / applet-window-buttons / default.nix
blob4f605b8af98b6b1c50db17919d2d5e1629a64981
1 { lib
2 , mkDerivation
3 , fetchFromGitHub
4 , fetchpatch
5 , cmake
6 , extra-cmake-modules
7 , kcoreaddons
8 , kdeclarative
9 , kdecoration
10 , plasma-framework
13 mkDerivation rec {
14   pname = "applet-window-buttons";
15   version = "0.11.1";
17   src = fetchFromGitHub {
18     owner = "psifidotos";
19     repo = "applet-window-buttons";
20     rev = version;
21     hash = "sha256-Qww/22bEmjuq+R3o0UDcS6U+34qjaeSEy+g681/hcfE=";
22   };
24   patches = [
25     # FIXME: cherry-pick Plasma 5.27 build fix, remove for next release
26     (fetchpatch {
27       url = "https://github.com/psifidotos/applet-window-buttons/commit/924994e10402921bf22fefc099bca2914989081c.diff";
28       hash = "sha256-4ErqmkIbkvKwns50LhI8Et1EMyvrXYcNRL1rXCxau2w=";
29     })
30   ];
32   nativeBuildInputs = [
33     cmake
34     extra-cmake-modules
35   ];
37   buildInputs = [
38     kcoreaddons
39     kdeclarative
40     kdecoration
41     plasma-framework
42   ];
44   meta = with lib; {
45     description = "Plasma 5 applet in order to show window buttons in your panels";
46     homepage = "https://github.com/psifidotos/applet-window-buttons";
47     license = licenses.gpl2Plus;
48     maintainers = with maintainers; [ dotlambda ];
49   };