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