Merge pull request #140212 from Artturin/libdecoradd
This commit is contained in:
commit
810ed7a053
2 changed files with 46 additions and 0 deletions
44
pkgs/development/libraries/libdecor/default.nix
Normal file
44
pkgs/development/libraries/libdecor/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitLab
|
||||
, pkg-config
|
||||
, meson
|
||||
, ninja
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, 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}";
|
||||
hash = "sha256:0qdg3r7k086wzszr969s0ljlqdvfqm31zpl8p5h397bw076zr6p2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -16965,6 +16965,8 @@ with pkgs;
|
|||
libGL = null;
|
||||
};
|
||||
|
||||
libdecor = callPackage ../development/libraries/libdecor { };
|
||||
|
||||
libdigidoc = callPackage ../development/libraries/libdigidoc {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue