2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2020-03-23 13:45:14 +00:00
|
|
|
, pkg-config, scdoc, wayland
|
|
|
|
, wayland-protocols, libxkbcommon
|
2019-08-25 19:11:30 +01:00
|
|
|
}:
|
|
|
|
|
2020-03-23 13:45:14 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wev";
|
|
|
|
version = "1.0.0";
|
2019-08-25 19:11:30 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-23 13:45:14 +00:00
|
|
|
url = "https://git.sr.ht/~sircmpwn/wev/archive/${version}.tar.gz";
|
|
|
|
sha256 = "0vlxdkb59v6nb10j28gh1a56sx8jk7ak7liwzv911kpmygnls03g";
|
2019-08-25 19:11:30 +01:00
|
|
|
};
|
|
|
|
|
2020-03-23 13:45:14 +00:00
|
|
|
nativeBuildInputs = [ pkg-config scdoc wayland ];
|
|
|
|
buildInputs = [ wayland-protocols libxkbcommon ];
|
2019-08-25 19:11:30 +01:00
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-08-25 19:11:30 +01:00
|
|
|
description = "Wayland event viewer";
|
|
|
|
longDescription = ''
|
|
|
|
This is a tool for debugging events on a Wayland window, analagous to the
|
|
|
|
X11 tool xev.
|
|
|
|
'';
|
2020-03-23 13:45:14 +00:00
|
|
|
homepage = "https://git.sr.ht/~sircmpwn/wev";
|
2019-08-25 19:11:30 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|