about summary refs log tree commit diff
path: root/pkgs/tools/wayland
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2023-07-16 21:50:31 +0200
committerGitHub <noreply@github.com>2023-07-16 21:50:31 +0200
commit584f1323d98d13bfb34768caf404eef79056ea90 (patch)
tree8571ac7859a0cfd2c5a90d967cd8e502f99764ce /pkgs/tools/wayland
parent6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222 (diff)
parentb5546fd25b4ef6558108618ef4cd7689973ad106 (diff)
Merge pull request #242774 from dit7ya/waylogout
waylogout: init at unstable-2023-06-09
Diffstat (limited to 'pkgs/tools/wayland')
-rw-r--r--pkgs/tools/wayland/waylogout/default.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/waylogout/default.nix b/pkgs/tools/wayland/waylogout/default.nix
new file mode 100644
index 0000000000000..553d1a9fd5936
--- /dev/null
+++ b/pkgs/tools/wayland/waylogout/default.nix
@@ -0,0 +1,48 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, meson
+, ninja
+, pkg-config
+, wayland
+, wayland-protocols
+, libxkbcommon
+, cairo
+, gdk-pixbuf
+, scdoc
+}:
+
+stdenv.mkDerivation {
+  pname = "waylogout";
+  version = "unstable-2023-06-09";
+
+  src = fetchFromGitHub {
+    owner = "loserMcloser";
+    repo = "waylogout";
+    rev = "f90e1b8b0f67a2694fafca7beb32828493f3f78e";
+    hash = "sha256-YQtX4t6q2NybuKU3lVcn5XhC0nXcPfEbcXbuFmDZOrw=";
+  };
+
+  nativeBuildInputs = [
+    pkg-config
+    meson
+    ninja
+    scdoc
+  ];
+
+  buildInputs = [
+    wayland
+    wayland-protocols
+    libxkbcommon
+    cairo
+    gdk-pixbuf
+  ];
+
+  meta = with lib; {
+    description = "A graphical logout/suspend/reboot/shutdown dialog for wayland";
+    homepage = "https://github.com/loserMcloser/waylogout";
+    license = licenses.mit;
+    maintainers = with maintainers; [ dit7ya ];
+    platforms = platforms.linux;
+  };
+}