1{
2 stdenv,
3 lib,
4 fetchFromGitLab,
5 gettext,
6 meson,
7 ninja,
8 pkg-config,
9 wrapGAppsHook3,
10 accountsservice,
11 exo,
12 garcon,
13 glib,
14 gtk-layer-shell,
15 gtk3,
16 libxfce4ui,
17 libxfce4util,
18 xfce4-panel,
19 xfconf,
20 gitUpdater,
21}:
22
23stdenv.mkDerivation (finalAttrs: {
24 pname = "xfce4-whiskermenu-plugin";
25 version = "2.10.0";
26
27 src = fetchFromGitLab {
28 domain = "gitlab.xfce.org";
29 owner = "panel-plugins";
30 repo = "xfce4-whiskermenu-plugin";
31 tag = "xfce4-whiskermenu-plugin-${finalAttrs.version}";
32 hash = "sha256-2FACsP6mKx0k91xG3DaVS6hdvdLrjLu9Y9rVOW6PZ3M=";
33 };
34
35 strictDeps = true;
36
37 nativeBuildInputs = [
38 gettext
39 meson
40 ninja
41 pkg-config
42 wrapGAppsHook3
43 ];
44
45 buildInputs = [
46 accountsservice
47 exo
48 garcon
49 glib
50 gtk-layer-shell
51 gtk3
52 libxfce4ui
53 libxfce4util
54 xfce4-panel
55 xfconf
56 ];
57
58 passthru.updateScript = gitUpdater { rev-prefix = "xfce4-whiskermenu-plugin-"; };
59
60 meta = {
61 description = "Alternate application launcher for Xfce";
62 mainProgram = "xfce4-popup-whiskermenu";
63 homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-whiskermenu-plugin";
64 license = lib.licenses.gpl2Plus;
65 teams = [ lib.teams.xfce ];
66 platforms = lib.platforms.linux;
67 };
68})