git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #140212 from Artturin/libdecoradd
commit810ed7a053191b5f8c9700dcf8b21eef5a28e887 authorArtturi <Artturin@artturin.com> dateSat 2 Oct 2021, 22:49 (5 years ago) parenta299dd53b8e97b
2 files changed+46
pkgs/development/libraries/libdecor/default.nix+44 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/libdecor/default.nixnew file+44
@@ -0,0 +1,44 @@
1+{ stdenv
2+, lib
3+, fetchFromGitLab
4+, pkg-config
5+, meson
6+, ninja
7+, wayland
8+, wayland-protocols
9+, cairo
10+, dbus
11+, pango
12+, libxkbcommon
13+}:
14+
15+stdenv.mkDerivation rec {
16+ pname = "libdecor";
17+ version = "0.1.0";
18+
19+ src = fetchFromGitLab {
20+ domain = "gitlab.gnome.org";
21+ owner = "jadahl";
22+ repo = "libdecor";
23+ rev = "${version}";
24+ hash = "sha256:0qdg3r7k086wzszr969s0ljlqdvfqm31zpl8p5h397bw076zr6p2";
25+ };
26+
27+ nativeBuildInputs = [ meson ninja pkg-config ];
28+ buildInputs = [
29+ wayland
30+ wayland-protocols
31+ cairo
32+ dbus
33+ pango
34+ libxkbcommon
35+ ];
36+
37+ meta = with lib; {
38+ homepage = "https://gitlab.gnome.org/jadahl/libdecor";
39+ description = "Client-side decorations library for Wayland clients";
40+ license = licenses.mit;
41+ platforms = platforms.linux;
42+ maintainers = with maintainers; [ artturin ];
43+ };
44+}
pkgs/top-level/all-packages.nix+2
@@ -16965,6 +16965,8 @@ with pkgs;
1696516965 libGL = null;
1696616966 };
1696716967
16968+ libdecor = callPackage ../development/libraries/libdecor { };
16969+
1696816970 libdigidoc = callPackage ../development/libraries/libdigidoc {
1696916971 inherit (darwin.apple_sdk.frameworks) Security;
1697016972 };