diff --git a/pkgs/tools/wayland/waylogout/default.nix b/pkgs/tools/wayland/waylogout/default.nix new file mode 100644 index 000000000000..553d1a9fd593 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6dcf46a01bb4..4caa04eed25a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4510,6 +4510,8 @@ with pkgs; wayland-proxy-virtwl = callPackage ../tools/wayland/wayland-proxy-virtwl { }; + waylogout = callPackage ../tools/wayland/waylogout { }; + waynergy = callPackage ../tools/wayland/waynergy { }; wayout = callPackage ../tools/wayland/wayout { };