Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 extra-cmake-modules,
7 kcoreaddons,
8 kdeclarative,
9 kdecoration,
10 plasma-framework,
11 plasma-workspace,
12 libSM,
13 qtx11extras,
14 kwindowsystem,
15 libdbusmenu,
16 wrapQtAppsHook,
17}:
18
19stdenv.mkDerivation {
20 pname = "applet-window-appmenu";
21 version = "unstable-2022-06-27";
22
23 src = fetchFromGitHub {
24 owner = "psifidotos";
25 repo = "applet-window-appmenu";
26 rev = "1de99c93b0004b80898081a1acfd1e0be807326a";
27 hash = "sha256-PLlZ2qgdge8o1mZOiPOXSmTQv1r34IUmWTmYFGEzNTI=";
28 };
29
30 nativeBuildInputs = [
31 cmake
32 extra-cmake-modules
33 wrapQtAppsHook
34 ];
35
36 buildInputs = [
37 kcoreaddons
38 kdeclarative
39 kdecoration
40 kwindowsystem
41 plasma-framework
42 plasma-workspace
43 libSM
44 qtx11extras
45 libdbusmenu
46 ];
47
48 meta = with lib; {
49 description = "Plasma 5 applet in order to show window menu in your panels";
50 homepage = "https://github.com/psifidotos/applet-window-appmenu";
51 license = licenses.gpl2Plus;
52 maintainers = with maintainers; [ greydot ];
53 platforms = platforms.linux;
54 };
55}