Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / lswt / default.nix
blob59315ec9b7fd6965343e3d864bcb54579be5c49f
1 { lib, stdenv, fetchFromSourcehut, wayland-scanner, wayland }:
3 stdenv.mkDerivation rec {
4   pname = "lswt";
5   version = "1.0.4";
7   src = fetchFromSourcehut {
8     owner = "~leon_plickat";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-Orwa7sV56AeznEcq/Xj5qj4PALMxq0CI+ZnXuY4JYE0=";
12   };
14   nativeBuildInputs = [ wayland-scanner ];
15   buildInputs = [ wayland ];
17   makeFlags = [
18     "DESTDIR=${placeholder "out"}"
19     "PREFIX="
20   ];
22   meta = with lib; {
23     description = "A command that lists Wayland toplevels";
24     homepage = "https://sr.ht/~leon_plickat/lswt";
25     license = licenses.gpl3Only;
26     maintainers = with maintainers; [ edrex ];
27     platforms = platforms.linux;
28   };