Merge pull request #287085 from trofi/evtest-qt-update

evtest-qt: 0.2.0 -> 0.2.0-unstable-2023-09-13
This commit is contained in:
Mario Rodas 2024-03-02 00:03:04 -05:00 committed by GitHub
commit 9c07d2033b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,20 +1,33 @@
{ mkDerivation, lib, qtbase, cmake, fetchFromGitHub }: { mkDerivation, lib, qtbase, cmake, fetchFromGitHub, fetchpatch, unstableGitUpdater }:
mkDerivation rec { mkDerivation rec {
pname = "evtest-qt"; pname = "evtest-qt";
version = "0.2.0"; version = "0.2.0-unstable-2023-09-13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Grumbel"; owner = "Grumbel";
repo = pname; repo = pname;
rev = "v${version}"; rev = "fb087f4d3d51377790f1ff30681c48031bf23145";
sha256 = "1wfzkgq81764qzxgk0y5vvpxcrb3icvrr4dd4mj8njrqgbwmn0mw"; hash = "sha256-gE47x1J13YZUVyB0b4VRyESIVCm3GbOXp2bX0TP97UU=";
fetchSubmodules = true;
}; };
patches = [
# Fix build against gcc-13:
# https://github.com/Grumbel/evtest-qt/pull/14
(fetchpatch {
name = "gcc-13.patch";
url = "https://github.com/Grumbel/evtest-qt/commit/975dedcfd60853bd329f34d48ce4740add8866eb.patch";
hash = "sha256-gR/9oVhO4G9i7dn+CjvDAQN0KLXoX/fatpE0W3gXDc0=";
})
];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase ]; buildInputs = [ qtbase ];
passthru.updateScript = unstableGitUpdater {};
meta = with lib; { meta = with lib; {
description = "Simple input device tester for linux with Qt GUI"; description = "Simple input device tester for linux with Qt GUI";
homepage = "https://github.com/Grumbel/evtest-qt"; homepage = "https://github.com/Grumbel/evtest-qt";