mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01: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/'
30 lines
723 B
Nix
30 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";
|
|
};
|
|
}
|