Added homepage where missing, where the sources are pulled from: - https://github.com - https://git.sr.ht - https://gitlab.com - https://invent.kde.org - https://codeberg.org - https://gitlab.gnome.org - https://gitlab.freedesktop.org - https://git.FreeBSD.org - https://salsa.debian.org - https://git.tvdr.de - https://git.suckless.org
37 lines
769 B
Nix
37 lines
769 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
libxml2,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "evtest";
|
|
version = "1.36";
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
buildInputs = [ libxml2 ];
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.freedesktop.org";
|
|
owner = "libevdev";
|
|
repo = "evtest";
|
|
tag = "evtest-${finalAttrs.version}";
|
|
sha256 = "sha256-M7AGcHklErfRIOu64+OU397OFuqkAn4dqZxx7sDfklc=";
|
|
};
|
|
|
|
meta = {
|
|
description = "Simple tool for input event debugging";
|
|
homepage = "https://gitlab.freedesktop.org/libevdev/evtest";
|
|
license = lib.licenses.gpl2;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = [ lib.maintainers.bjornfor ];
|
|
mainProgram = "evtest";
|
|
};
|
|
})
|