@@ -0,0 +1,30 @@
1+{ stdenv, fetchurl
2+, meson, pkg-config, ninja
3+, wayland, wayland-protocols
4+}:
5+
6+stdenv.mkDerivation rec {
7+ pname = "wayland-utils";
8+ version = "1.0.0";
9+
10+ src = fetchurl {
11+ url = "https://wayland.freedesktop.org/releases/${pname}-${version}.tar.xz";
12+ sha256 = "1h38l850ww6hxjb1l8iwa33nkbz8q88bw6lh0aryjyp8b16crzk4";
13+ };
14+
15+ nativeBuildInputs = [ meson pkg-config ninja wayland ];
16+ buildInputs = [ wayland wayland-protocols ];
17+
18+ meta = with stdenv.lib; {
19+ description = "Wayland utilities (wayland-info)";
20+ longDescription = ''
21+ A collection of Wayland related utilities:
22+ - wayland-info: A utility for displaying information about the Wayland
23+ protocols supported by a Wayland compositor.
24+ '';
25+ homepage = "https://gitlab.freedesktop.org/wayland/wayland-utils";
26+ license = licenses.mit; # Expat version
27+ platforms = platforms.linux;
28+ maintainers = with maintainers; [ primeos ];
29+ };
30+}