nixpkgs/pkgs/applications/misc/lswt/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

31 lines
723 B
Nix

{ lib, stdenv, fetchFromSourcehut, wayland-scanner, wayland }:
stdenv.mkDerivation rec {
pname = "lswt";
version = "2.0.0";
src = fetchFromSourcehut {
owner = "~leon_plickat";
repo = pname;
rev = "v${version}";
hash = "sha256-8jP6I2zsDt57STtuq4F9mcsckrjvaCE5lavqKTjhNT0=";
};
nativeBuildInputs = [ wayland-scanner ];
buildInputs = [ wayland ];
makeFlags = [
"DESTDIR=${placeholder "out"}"
"PREFIX="
];
meta = with lib; {
description = "Command that lists Wayland toplevels";
homepage = "https://sr.ht/~leon_plickat/lswt";
license = licenses.gpl3Only;
maintainers = with maintainers; [ edrex ];
platforms = platforms.linux;
mainProgram = "lswt";
};
}