depot/third_party/nixpkgs/pkgs/applications/misc/lswt/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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";
};
}