Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 67 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.2"; 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-8wpfoZcgusJdEbKGZ02UtOOcSogMTNP9Lm+ujo/eKdA="; 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 = "Library to create panels and other desktop components for Wayland using the Layer Shell protocol"; 61 mainProgram = "gtk-layer-demo"; 62 homepage = "https://github.com/wmww/gtk-layer-shell"; 63 license = licenses.lgpl3Plus; 64 maintainers = with maintainers; [ eonpatapon donovanglover ]; 65 platforms = platforms.linux; 66 }; 67})