nixpkgs-suyu/pkgs/tools/wayland/wev/default.nix

39 lines
843 B
Nix
Raw Normal View History

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