biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / misc / evtest-qt / default.nix
blob42000afd3d7e7b95654d064b9f1a0b6cf9f926cc
1 { mkDerivation, lib, qtbase, cmake, fetchFromGitHub, fetchpatch, unstableGitUpdater }:
3 mkDerivation rec {
4   pname = "evtest-qt";
5   version = "0.2.0-unstable-2023-09-13";
7   src = fetchFromGitHub {
8     owner = "Grumbel";
9     repo = pname;
10     rev = "fb087f4d3d51377790f1ff30681c48031bf23145";
11     hash = "sha256-gE47x1J13YZUVyB0b4VRyESIVCm3GbOXp2bX0TP97UU=";
12     fetchSubmodules = true;
13   };
15   patches = [
16     # Fix build against gcc-13:
17     #   https://github.com/Grumbel/evtest-qt/pull/14
18     (fetchpatch {
19       name = "gcc-13.patch";
20       url = "https://github.com/Grumbel/evtest-qt/commit/975dedcfd60853bd329f34d48ce4740add8866eb.patch";
21       hash = "sha256-gR/9oVhO4G9i7dn+CjvDAQN0KLXoX/fatpE0W3gXDc0=";
22     })
23   ];
25   nativeBuildInputs = [ cmake ];
27   buildInputs = [ qtbase ];
29   passthru.updateScript = unstableGitUpdater {};
31   meta = with lib; {
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;
38   };