at 23.11-beta 66 lines 1.2 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, meson 5, ninja 6, pkg-config 7, gtk-doc 8, docbook-xsl-nons 9, docbook_xml_dtd_43 10, wayland-scanner 11, wayland 12, gtk3 13, gobject-introspection 14, vala 15}: 16 17stdenv.mkDerivation (finalAttrs: { 18 pname = "gtk-layer-shell"; 19 version = "0.8.1"; 20 21 outputs = [ "out" "dev" "devdoc" ]; 22 outputBin = "devdoc"; # for demo 23 24 src = fetchFromGitHub { 25 owner = "wmww"; 26 repo = "gtk-layer-shell"; 27 rev = "v${finalAttrs.version}"; 28 hash = "sha256-WW5sdOAJUKbSLWUpI9BK7O63/Uli+Tu9Tj9ccCOREPM="; 29 }; 30 31 strictDeps = true; 32 33 depsBuildBuild = [ 34 pkg-config 35 ]; 36 37 nativeBuildInputs = [ 38 meson 39 ninja 40 pkg-config 41 gobject-introspection 42 gtk-doc 43 docbook-xsl-nons 44 docbook_xml_dtd_43 45 vala 46 wayland-scanner 47 ]; 48 49 buildInputs = [ 50 wayland 51 gtk3 52 ]; 53 54 mesonFlags = [ 55 "-Ddocs=true" 56 "-Dexamples=true" 57 ]; 58 59 meta = with lib; { 60 description = "A library to create panels and other desktop components for Wayland using the Layer Shell protocol"; 61 homepage = "https://github.com/wmww/gtk-layer-shell"; 62 license = licenses.lgpl3Plus; 63 maintainers = with maintainers; [ eonpatapon donovanglover ]; 64 platforms = platforms.linux; 65 }; 66})