depot/third_party/nixpkgs/pkgs/by-name/li/libresplit/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03: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-06-05";
src = fetchFromGitHub {
owner = "wins1ey";
repo = "LibreSplit";
rev = "ba10e054e2cd3a96034e3a8d5758f4ad32759ff0";
hash = "sha256-imKzBXwyJQeChT36FuY7ihZw+IcGbjp7LoMGRy3hM/0=";
};
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;
};
}