1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 extra-cmake-modules,
7 kcoreaddons,
8 kdeclarative,
9 kdecoration,
10 libplasma,
11}:
12
13stdenv.mkDerivation rec {
14 pname = "applet-window-buttons6";
15 version = "0.14.0";
16
17 src = fetchFromGitHub {
18 owner = "moodyhunter";
19 repo = "applet-window-buttons6";
20 rev = "v${version}";
21 hash = "sha256-HnlgBQKT99vVkl6DWqMkN8Vz+QzzZBGj5tqOJ22VkJ8=";
22 };
23
24 dontWrapQtApps = true;
25
26 nativeBuildInputs = [
27 cmake
28 extra-cmake-modules
29 ];
30
31 buildInputs = [
32 kcoreaddons
33 kdeclarative
34 kdecoration
35 libplasma
36 ];
37
38 meta = with lib; {
39 description = "Plasma 6 applet in order to show window buttons in your panels";
40 homepage = "https://github.com/moodyhunter/applet-window-buttons6";
41 license = licenses.gpl2Only;
42 maintainers = with maintainers; [ A1ca7raz ];
43 };
44}