nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 autoreconfHook,
6 pkg-config,
7 libxml2,
8}:
9
10stdenv.mkDerivation (finalAttrs: {
11 pname = "evtest";
12 version = "1.36";
13
14 nativeBuildInputs = [
15 autoreconfHook
16 pkg-config
17 ];
18 buildInputs = [ libxml2 ];
19
20 src = fetchFromGitLab {
21 domain = "gitlab.freedesktop.org";
22 owner = "libevdev";
23 repo = "evtest";
24 tag = "evtest-${finalAttrs.version}";
25 sha256 = "sha256-M7AGcHklErfRIOu64+OU397OFuqkAn4dqZxx7sDfklc=";
26 };
27
28 meta = {
29 description = "Simple tool for input event debugging";
30 license = lib.licenses.gpl2;
31 platforms = lib.platforms.linux;
32 maintainers = [ lib.maintainers.bjornfor ];
33 mainProgram = "evtest";
34 };
35})