base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / li / libdecor / package.nix
blobf81fdc68768acdc4b9972d49405955295b1a759a
1 { stdenv
2 , lib
3 , fetchFromGitLab
4 , pkg-config
5 , meson
6 , ninja
7 , wayland
8 , wayland-protocols
9 , wayland-scanner
10 , cairo
11 , dbus
12 , pango
13 , gtk3
16 stdenv.mkDerivation rec {
17   pname = "libdecor";
18   version = "0.2.2";
20   src = fetchFromGitLab {
21     domain = "gitlab.freedesktop.org";
22     owner = "libdecor";
23     repo = "libdecor";
24     rev = version;
25     hash = "sha256-mID19uHXFKJUZtQsSOXjRdz541YVjMxmSHVa+DlkPRc=";
26   };
28   outputs = [ "out" "dev" ];
30   strictDeps = true;
32   mesonFlags = [
33     (lib.mesonBool "demo" false)
34   ];
36   nativeBuildInputs = [
37     meson
38     ninja
39     pkg-config
40     wayland-scanner
41   ];
43   buildInputs = [
44     wayland
45     wayland-protocols
46     cairo
47     dbus
48     pango
49     gtk3
50   ];
52   meta = with lib; {
53     homepage = "https://gitlab.freedesktop.org/libdecor/libdecor";
54     description = "Client-side decorations library for Wayland clients";
55     license = licenses.mit;
56     platforms = platforms.linux;
57     maintainers = with maintainers; [ artturin ];
58   };