@@ -0,0 +1,56 @@
1+{ stdenv
2+, fetchFromGitHub
3+, meson
4+, ninja
5+, pkgconfig
6+, pantheon
7+, python3
8+, gettext
9+, glib
10+, gtk3
11+, hicolor-icon-theme
12+, libgee
13+, wrapGAppsHook }:
14+
15+stdenv.mkDerivation rec {
16+ pname = "appeditor";
17+ version = "1.1.0";
18+
19+ src = fetchFromGitHub {
20+ owner = "donadigo";
21+ repo = "appeditor";
22+ rev = version;
23+ sha256 = "04x2f4x4dp5ca2y3qllqjgirbyl6383pfl4bi9bkcqlg8b5081rg";
24+ };
25+
26+ nativeBuildInputs = [
27+ gettext
28+ meson
29+ ninja
30+ pantheon.vala
31+ pkgconfig
32+ python3
33+ wrapGAppsHook
34+ ];
35+
36+ buildInputs = [
37+ glib
38+ gtk3
39+ hicolor-icon-theme
40+ pantheon.granite
41+ libgee
42+ ];
43+
44+ postPatch = ''
45+ chmod +x meson/post_install.py
46+ patchShebangs meson/post_install.py
47+ '';
48+
49+ meta = with stdenv.lib; {
50+ description = "Edit the Pantheon desktop application menu";
51+ homepage = https://github.com/donadigo/appeditor;
52+ maintainers = with maintainers; [ kjuvi ] ++ pantheon.maintainers;
53+ platforms = platforms.linux;
54+ license = licenses.gpl3;
55+ };
56+}