2023-04-29 16:46:19 +00:00
|
|
|
{ lib, stdenv, fetchFromSourcehut, wayland-scanner, wayland }:
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lswt";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "2.0.0";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~leon_plickat";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-8jP6I2zsDt57STtuq4F9mcsckrjvaCE5lavqKTjhNT0=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
nativeBuildInputs = [ wayland-scanner ];
|
2022-12-28 21:21:41 +00:00
|
|
|
buildInputs = [ wayland ];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"DESTDIR=${placeholder "out"}"
|
|
|
|
"PREFIX="
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Command that lists Wayland toplevels";
|
2022-12-28 21:21:41 +00:00
|
|
|
homepage = "https://sr.ht/~leon_plickat/lswt";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ edrex ];
|
|
|
|
platforms = platforms.linux;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "lswt";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
}
|