about summary refs log tree commit diff
path: root/pkgs/development/libraries/xdg-desktop-portal-wlr/default.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-06-05 19:42:16 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-06-05 19:42:16 +0200
commit1c68570ab297a96861ec87034ff9ef155e23b0a4 (patch)
treea6785ac0ec23ec3b4686ec4c11b0cc4590320c80 /pkgs/development/libraries/xdg-desktop-portal-wlr/default.nix
parent462aa777dfbb45829321dead7749382e3d551e8c (diff)
parent43f71029cc6b18c1b4db4d01b35dbb30425c2f4e (diff)
downloadnixlib-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar
nixlib-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar.gz
nixlib-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar.bz2
nixlib-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar.lz
nixlib-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar.xz
nixlib-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar.zst
nixlib-1c68570ab297a96861ec87034ff9ef155e23b0a4.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/libraries/xdg-desktop-portal-wlr/default.nix')
-rw-r--r--pkgs/development/libraries/xdg-desktop-portal-wlr/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/libraries/xdg-desktop-portal-wlr/default.nix b/pkgs/development/libraries/xdg-desktop-portal-wlr/default.nix
new file mode 100644
index 000000000000..c6faa4fc017a
--- /dev/null
+++ b/pkgs/development/libraries/xdg-desktop-portal-wlr/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub
+, meson, ninja, pkgconfig, wayland-protocols
+, pipewire, wayland, elogind, systemd, libdrm }:
+
+stdenv.mkDerivation rec {
+  pname = "xdg-desktop-portal-wlr";
+  version = "0.1.0";
+
+  src = fetchFromGitHub {
+    owner = "emersion";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "12k92h9dmn1fyn8nzxk69cyv0gnb7g9gj7a66mw5dcl5zqnl07nc";
+  };
+
+  nativeBuildInputs = [ meson ninja pkgconfig wayland-protocols ];
+  buildInputs = [ pipewire wayland elogind systemd libdrm ];
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/emersion/xdg-desktop-portal-wlr";
+    description = "xdg-desktop-portal backend for wlroots";
+    maintainers = with maintainers; [ minijackson ];
+    platforms = platforms.linux;
+    license = licenses.mit;
+  };
+}