2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2021-07-21 07:28:18 +00:00
|
|
|
, meson, pkg-config, ninja, wayland-scanner
|
2022-10-06 18:32:54 +00:00
|
|
|
, libdrm, wayland, wayland-protocols
|
2020-08-20 17:08:02 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wayland-utils";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.2.0";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-10-06 18:32:54 +00:00
|
|
|
url = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/releases/${version}/downloads/wayland-utils-${version}.tar.xz";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-2SeMIlVFhogYAlQHUbzEJWkmK/gM2aybD9Ev9L0JqeQ=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
strictDeps = true;
|
2022-04-15 01:41:22 +00:00
|
|
|
depsBuildBuild = [ pkg-config ];
|
2021-07-21 07:28:18 +00:00
|
|
|
nativeBuildInputs = [ meson pkg-config ninja wayland-scanner ];
|
2022-10-06 18:32:54 +00:00
|
|
|
buildInputs = [ libdrm wayland wayland-protocols ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
description = "Wayland utilities (wayland-info)";
|
|
|
|
longDescription = ''
|
|
|
|
A collection of Wayland related utilities:
|
|
|
|
- wayland-info: A utility for displaying information about the Wayland
|
|
|
|
protocols supported by a Wayland compositor.
|
|
|
|
'';
|
|
|
|
homepage = "https://gitlab.freedesktop.org/wayland/wayland-utils";
|
|
|
|
license = licenses.mit; # Expat version
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
2023-07-15 17:15:38 +00:00
|
|
|
mainProgram = "wayland-info";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|