1{ lib
2, stdenv
3, fetchFromGitLab
4, appstream-glib
5, desktop-file-utils
6, glib
7, gtk4
8, gtksourceview5
9, libadwaita
10, libgee
11, libpanel
12, meson
13, ninja
14, pkg-config
15, wrapGAppsHook4
16}:
17
18stdenv.mkDerivation rec {
19 pname = "schemes";
20 version = "0.2.0";
21
22 src = fetchFromGitLab {
23 domain = "gitlab.gnome.org";
24 owner = "chergert";
25 repo = "schemes";
26 rev = version;
27 hash = "sha256-XUC24KzZSU4+F2JZMsydukvAwEGdMxCnkPG6QHnCw6w=";
28 };
29
30 nativeBuildInputs = [
31 meson
32 ninja
33 pkg-config
34 wrapGAppsHook4
35 appstream-glib
36 desktop-file-utils
37 ];
38
39 buildInputs = [
40 glib
41 gtk4
42 libadwaita
43 gtksourceview5
44 libpanel
45 ];
46
47 meta = with lib; {
48 description = "Edit GtkSourceView style-schemes for an application or platform";
49 homepage = "https://gitlab.gnome.org/chergert/schemes";
50 license = licenses.gpl3Plus;
51 maintainers = with maintainers; [ _0xMRTT ];
52 platforms = platforms.linux;
53 };
54}