1{ stdenv
2, lib
3, fetchFromGitLab
4, pkg-config
5, meson
6, ninja
7, wayland
8, wayland-protocols
9, wayland-scanner
10, egl-wayland
11, cairo
12, dbus
13, pango
14, libxkbcommon
15}:
16
17stdenv.mkDerivation rec {
18 pname = "libdecor";
19 version = "0.1.0";
20
21 src = fetchFromGitLab {
22 domain = "gitlab.gnome.org";
23 owner = "jadahl";
24 repo = "libdecor";
25 rev = "${version}";
26 sha256 = "0qdg3r7k086wzszr969s0ljlqdvfqm31zpl8p5h397bw076zr6p2";
27 };
28
29 strictDeps = true;
30
31 nativeBuildInputs = [
32 meson
33 ninja
34 pkg-config
35 wayland-scanner
36 ];
37
38 buildInputs = [
39 wayland
40 wayland-protocols
41 egl-wayland
42 cairo
43 dbus
44 pango
45 libxkbcommon
46 ];
47
48 meta = with lib; {
49 homepage = "https://gitlab.gnome.org/jadahl/libdecor";
50 description = "Client-side decorations library for Wayland clients";
51 license = licenses.mit;
52 platforms = platforms.linux;
53 maintainers = with maintainers; [ artturin ];
54 };
55}