depot/pkgs/by-name/li/libresplit/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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;
};
}