1 { mkDerivation, lib, qtbase, cmake, fetchFromGitHub, fetchpatch, unstableGitUpdater }:
5 version = "0.2.0-unstable-2023-09-13";
7 src = fetchFromGitHub {
10 rev = "fb087f4d3d51377790f1ff30681c48031bf23145";
11 hash = "sha256-gE47x1J13YZUVyB0b4VRyESIVCm3GbOXp2bX0TP97UU=";
12 fetchSubmodules = true;
16 # Fix build against gcc-13:
17 # https://github.com/Grumbel/evtest-qt/pull/14
19 name = "gcc-13.patch";
20 url = "https://github.com/Grumbel/evtest-qt/commit/975dedcfd60853bd329f34d48ce4740add8866eb.patch";
21 hash = "sha256-gR/9oVhO4G9i7dn+CjvDAQN0KLXoX/fatpE0W3gXDc0=";
25 nativeBuildInputs = [ cmake ];
27 buildInputs = [ qtbase ];
29 passthru.updateScript = unstableGitUpdater {};
32 description = "Simple input device tester for linux with Qt GUI";
33 mainProgram = "evtest-qt";
34 homepage = "https://github.com/Grumbel/evtest-qt";
35 maintainers = with maintainers; [ alexarice ];
36 platforms = platforms.linux;
37 license = licenses.gpl3;