diff --git a/pkgs/applications/misc/lswt/default.nix b/pkgs/applications/misc/lswt/default.nix new file mode 100644 index 000000000000..d6bdf77a8bdb --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5a71bdc01d07..e7d1eb9edc4f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30352,6 +30352,8 @@ with pkgs; lscolors = callPackage ../applications/misc/lscolors { }; + lswt = callPackage ../applications/misc/lswt { }; + luddite = with python3Packages; toPythonApplication luddite; goobook = with python3Packages; toPythonApplication goobook;