Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromSourcehut,
|
|
pkg-config,
|
|
scdoc,
|
|
wayland-scanner,
|
|
wayland,
|
|
wayland-protocols,
|
|
libxkbcommon,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "wev";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~sircmpwn";
|
|
repo = "wev";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-0ZA44dMDuVYfplfutOfI2EdPNakE9KnOuRfk+CEDCRk=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
# for scdoc
|
|
depsBuildBuild = [
|
|
pkg-config
|
|
];
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
scdoc
|
|
wayland-scanner
|
|
];
|
|
buildInputs = [
|
|
wayland
|
|
wayland-protocols
|
|
libxkbcommon
|
|
];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = {
|
|
homepage = "https://git.sr.ht/~sircmpwn/wev";
|
|
description = "Wayland event viewer";
|
|
longDescription = ''
|
|
This is a tool for debugging events on a Wayland window, analogous to the
|
|
X11 tool xev.
|
|
'';
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ wineee ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "wev";
|
|
};
|
|
})
|