mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
f7997354b7
This makes things more explicit (and less confusing) but only touches the packages that I maintain.
40 lines
877 B
Nix
40 lines
877 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromSourcehut
|
|
, pkg-config
|
|
, scdoc
|
|
, wayland-scanner
|
|
, wayland
|
|
, wayland-protocols
|
|
, libxkbcommon
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wev";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~sircmpwn";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0l71v3fzgiiv6xkk365q1l08qvaymxd4kpaya6r2g8yzkr7i2hms";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config scdoc wayland-scanner ];
|
|
buildInputs = [ wayland wayland-protocols libxkbcommon ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://git.sr.ht/~sircmpwn/wev";
|
|
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;
|
|
};
|
|
}
|