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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
955 B
Nix
Raw Normal View History

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