mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +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/'
31 lines
723 B
Nix
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";
|
|
};
|
|
}
|