about summary refs log tree commit diff
path: root/pkgs/applications/misc/lswt
diff options
context:
space:
mode:
authorEric Drechsel <eric@pdxhub.org>2022-12-10 20:01:25 -0800
committerEric Drechsel <eric@pdxhub.org>2022-12-19 16:02:39 -0800
commit8ef43c6cf9adfc53bc981f15977263d9af4f3b7f (patch)
tree4b00b63cf1fe3cb491925fd36242f2c128cd287b /pkgs/applications/misc/lswt
parent3472d757747b9452dcb0110926141d0e2f738152 (diff)
lswt: init at 1.0.4
Diffstat (limited to 'pkgs/applications/misc/lswt')
-rw-r--r--pkgs/applications/misc/lswt/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/misc/lswt/default.nix b/pkgs/applications/misc/lswt/default.nix
new file mode 100644
index 0000000000000..d6bdf77a8bdbb
--- /dev/null
+++ b/pkgs/applications/misc/lswt/default.nix
@@ -0,0 +1,28 @@
+{ lib, stdenv, fetchFromSourcehut, nixos, wayland }:
+
+stdenv.mkDerivation rec {
+  pname = "lswt";
+  version = "1.0.4";
+
+  src = fetchFromSourcehut {
+    owner = "~leon_plickat";
+    repo = pname;
+    rev = "v${version}";
+    hash = "sha256-Orwa7sV56AeznEcq/Xj5qj4PALMxq0CI+ZnXuY4JYE0=";
+  };
+
+  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;
+  };
+}