{ lib, stdenv, fetchFromGitHub, gtk3, jansson, luajit, pkg-config, unstableGitUpdater, wrapGAppsHook3, xxd, }: stdenv.mkDerivation { pname = "libresplit"; version = "0-unstable-2024-09-24"; src = fetchFromGitHub { owner = "wins1ey"; repo = "LibreSplit"; rev = "b56ce6743378fc09c9ab621713423754eac945a1"; hash = "sha256-mhX5xyBmElPV6NUQRTz8KKL+H1on3WJ4DYatv89MRPo="; }; nativeBuildInputs = [ pkg-config wrapGAppsHook3 xxd ]; buildInputs = [ gtk3 jansson luajit ]; makeFlags = [ "PREFIX=$(out)" ]; passthru.updateScript = unstableGitUpdater { }; meta = { homepage = "https://github.com/wins1ey/LibreSplit"; description = "Speedrun timer with auto splitting and load removal for Linux"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ fgaz ]; mainProgram = "libresplit"; platforms = lib.platforms.linux; }; }