nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 53 lines 907 B view raw
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, libxkbcommon 14}: 15 16stdenv.mkDerivation rec { 17 pname = "libdecor"; 18 version = "0.1.0"; 19 20 src = fetchFromGitLab { 21 domain = "gitlab.gnome.org"; 22 owner = "jadahl"; 23 repo = "libdecor"; 24 rev = "${version}"; 25 sha256 = "0qdg3r7k086wzszr969s0ljlqdvfqm31zpl8p5h397bw076zr6p2"; 26 }; 27 28 strictDeps = true; 29 30 nativeBuildInputs = [ 31 meson 32 ninja 33 pkg-config 34 wayland-scanner 35 ]; 36 37 buildInputs = [ 38 wayland 39 wayland-protocols 40 cairo 41 dbus 42 pango 43 libxkbcommon 44 ]; 45 46 meta = with lib; { 47 homepage = "https://gitlab.gnome.org/jadahl/libdecor"; 48 description = "Client-side decorations library for Wayland clients"; 49 license = licenses.mit; 50 platforms = platforms.linux; 51 maintainers = with maintainers; [ artturin ]; 52 }; 53}