nixpkgs/pkgs/applications/misc/evtest/default.nix
2024-02-11 03:19:15 +01:00

23 lines
628 B
Nix

{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, libxml2 }:
stdenv.mkDerivation rec {
pname = "evtest";
version = "1.35";
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libxml2 ];
src = fetchgit {
url = "git://anongit.freedesktop.org/${pname}";
rev = "refs/tags/${pname}-${version}";
sha256 = "sha256-xF2dwjTmTOyZ/kmASYWqKfnvqCjw0OmdNKrNMrjNl5g=";
};
meta = with lib; {
description = "Simple tool for input event debugging";
license = lib.licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
mainProgram = "evtest";
};
}