mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
50 lines
909 B
Nix
50 lines
909 B
Nix
{ 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 = "Graphical logout/suspend/reboot/shutdown dialog for wayland";
|
|
homepage = "https://github.com/loserMcloser/waylogout";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "waylogout";
|
|
};
|
|
}
|