2023-04-22 12:59:14 +02:00
|
|
|
{ lib, stdenv, fetchFromSourcehut, wayland-scanner, wayland }:
|
2022-12-11 05:01:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lswt";
|
|
|
|
version = "1.0.4";
|
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~leon_plickat";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-Orwa7sV56AeznEcq/Xj5qj4PALMxq0CI+ZnXuY4JYE0=";
|
|
|
|
};
|
|
|
|
|
2023-04-22 12:59:14 +02:00
|
|
|
nativeBuildInputs = [ wayland-scanner ];
|
2022-12-11 05:01:25 +01:00
|
|
|
buildInputs = [ wayland ];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"DESTDIR=${placeholder "out"}"
|
|
|
|
"PREFIX="
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A command that lists Wayland toplevels";
|
|
|
|
homepage = "https://sr.ht/~leon_plickat/lswt";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ edrex ];
|
|
|
|
platforms = platforms.linux;
|
2024-02-11 03:19:15 +01:00
|
|
|
mainProgram = "lswt";
|
2022-12-11 05:01:25 +01:00
|
|
|
};
|
|
|
|
}
|