jenkins: 2.479.3 -> 2.492.1
[NixPkgs.git] / pkgs / by-name / gt / gtk-layer-shell / package.nix
blob079f525bd7127c2ffd92b474d7ffa40e76cd523a
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   meson,
6   ninja,
7   pkg-config,
8   gtk-doc,
9   docbook-xsl-nons,
10   docbook_xml_dtd_43,
11   wayland-scanner,
12   wayland,
13   gtk3,
14   gobject-introspection,
15   vala,
18 stdenv.mkDerivation (finalAttrs: {
19   pname = "gtk-layer-shell";
20   version = "0.9.0";
22   outputs = [
23     "out"
24     "dev"
25     "devdoc"
26   ];
27   outputBin = "devdoc"; # for demo
29   src = fetchFromGitHub {
30     owner = "wmww";
31     repo = "gtk-layer-shell";
32     rev = "v${finalAttrs.version}";
33     hash = "sha256-9hQE1NY5QCuj+5R5aSjJ0DaMUQuO7HPpZooj+1+96RY=";
34   };
36   strictDeps = true;
38   depsBuildBuild = [
39     pkg-config
40   ];
42   nativeBuildInputs = [
43     meson
44     ninja
45     pkg-config
46     gobject-introspection
47     gtk-doc
48     docbook-xsl-nons
49     docbook_xml_dtd_43
50     wayland-scanner
51     vala
52     wayland-scanner
53   ];
55   buildInputs = [
56     wayland
57     gtk3
58   ];
60   mesonFlags = [
61     "-Ddocs=true"
62     "-Dexamples=true"
63   ];
65   meta = with lib; {
66     description = "Library to create panels and other desktop components for Wayland using the Layer Shell protocol";
67     mainProgram = "gtk-layer-demo";
68     homepage = "https://github.com/wmww/gtk-layer-shell";
69     license = licenses.lgpl3Plus;
70     maintainers = with maintainers; [
71       eonpatapon
72       donovanglover
73     ];
74     platforms = platforms.linux;
75   };