depot/third_party/nixpkgs/pkgs/tools/misc/wev/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
829 B
Nix

{ stdenv, fetchurl
, pkg-config, scdoc, wayland
, wayland-protocols, libxkbcommon
}:
stdenv.mkDerivation rec {
pname = "wev";
version = "1.0.0";
src = fetchurl {
url = "https://git.sr.ht/~sircmpwn/wev/archive/${version}.tar.gz";
sha256 = "0vlxdkb59v6nb10j28gh1a56sx8jk7ak7liwzv911kpmygnls03g";
};
nativeBuildInputs = [ pkg-config scdoc wayland ];
buildInputs = [ wayland-protocols libxkbcommon ];
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Wayland event viewer";
longDescription = ''
This is a tool for debugging events on a Wayland window, analagous to the
X11 tool xev.
'';
homepage = "https://git.sr.ht/~sircmpwn/wev";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ primeos ];
};
}