at 23.11-beta 57 lines 969 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}: 14 15stdenv.mkDerivation rec { 16 pname = "libdecor"; 17 version = "0.1.1"; 18 19 src = fetchFromGitLab { 20 domain = "gitlab.freedesktop.org"; 21 owner = "libdecor"; 22 repo = "libdecor"; 23 rev = version; 24 hash = "sha256-8b6qCqOSDDbhYwAeAaUyI71tSopTkGtCJaxZaJw1vQQ="; 25 }; 26 27 outputs = [ "out" "dev" ]; 28 29 strictDeps = true; 30 31 mesonFlags = [ 32 (lib.mesonBool "demo" false) 33 ]; 34 35 nativeBuildInputs = [ 36 meson 37 ninja 38 pkg-config 39 wayland-scanner 40 ]; 41 42 buildInputs = [ 43 wayland 44 wayland-protocols 45 cairo 46 dbus 47 pango 48 ]; 49 50 meta = with lib; { 51 homepage = "https://gitlab.freedesktop.org/libdecor/libdecor"; 52 description = "Client-side decorations library for Wayland clients"; 53 license = licenses.mit; 54 platforms = platforms.linux; 55 maintainers = with maintainers; [ artturin ]; 56 }; 57}