nixpkgs/pkgs/by-name/wa/wayland-logout/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

29 lines
681 B
Nix

{
stdenv,
fetchFromGitHub,
lib,
meson,
ninja,
}:
stdenv.mkDerivation rec {
pname = "wayland-logout";
version = "1.4";
src = fetchFromGitHub {
owner = "soreau";
repo = pname;
rev = "v${version}";
hash = "sha256-VSAw6go4v937HWazXfMz8OdHgOnUtrlDXkslsV4eDIg=";
};
nativeBuildInputs = [meson ninja];
meta = with lib; {
description = ''
A utility designed to kill a single instance of a wayland compositor
'';
mainProgram = "wayland-logout";
homepage = "https://github.com/soreau/wayland-logout";
maintainers = with maintainers; [quantenzitrone];
license = with licenses; [mit];
platforms = platforms.linux;
};
}