fh5 things
All checks were successful
Build and Deploy / mreow (push) Successful in 7m57s
Build and Deploy / yarn (push) Successful in 1m11s
Build and Deploy / muffin (push) Successful in 1m3s

This commit is contained in:
2026-05-07 17:33:35 -04:00
parent 9a276a633a
commit 3865ceac0f
5 changed files with 33 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
{
stdenvNoCC,
fetchurl,
makeWrapper,
protontricks,
}:
stdenvNoCC.mkDerivation {
pname = "fh5-car-table";
version = "2.1";
src = fetchurl {
url = "https://github.com/ForzaMods/Car-Table/releases/download/2.1/Car-Table.exe";
sha256 = "1r0g0cjmjq4g0vmhj7g1hmm0n3chp3x66m4nfyd6rj1a1mdw5dv9";
};
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
install -m 755 $src $out/bin/Car-Table.exe
makeWrapper ${protontricks}/bin/protontricks-launch $out/bin/fh5-car-table \
--add-flags "--appid 1551360 $out/bin/Car-Table.exe"
'';
}