depot/third_party/nixpkgs/pkgs/by-name/li/libresplit/package.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

49 lines
944 B
Nix

{
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;
};
}