nixpkgs/pkgs/development/libraries/libdecor/default.nix

54 lines
907 B
Nix
Raw Normal View History

2021-10-02 00:00:50 +01:00
{ stdenv
, lib
, fetchFromGitLab
, pkg-config
, meson
, ninja
, wayland
, wayland-protocols
2021-10-03 00:41:13 +01:00
, wayland-scanner
2021-10-02 00:00:50 +01:00
, cairo
, dbus
, pango
, libxkbcommon
}:
stdenv.mkDerivation rec {
pname = "libdecor";
version = "0.1.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "jadahl";
repo = "libdecor";
rev = "${version}";
2021-10-03 00:41:13 +01:00
sha256 = "0qdg3r7k086wzszr969s0ljlqdvfqm31zpl8p5h397bw076zr6p2";
2021-10-02 00:00:50 +01:00
};
2021-10-03 00:41:13 +01:00
strictDeps = true;
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
2021-10-02 00:00:50 +01:00
buildInputs = [
wayland
wayland-protocols
cairo
dbus
pango
libxkbcommon
];
meta = with lib; {
homepage = "https://gitlab.gnome.org/jadahl/libdecor";
description = "Client-side decorations library for Wayland clients";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ artturin ];
};
}