Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

83 lines
1.4 KiB
Nix

{
lib,
stdenv,
buildDotnetModule,
fetchFromGitHub,
autoPatchelfHook,
wrapGAppsHook3,
dotnetCorePackages,
fontconfig,
gtk3,
icu,
libkrb5,
libunwind,
openssl,
xinput,
xorg,
}:
buildDotnetModule rec {
pname = "opentracker";
version = "1.8.6";
src = fetchFromGitHub {
owner = "trippsc2";
repo = "opentracker";
tag = version;
hash = "sha256-4EBn3BX5tX+yPUjoNFQSls9CwTCd6MpvcBoUKwRndRo=";
};
dotnet-sdk = dotnetCorePackages.sdk_8_0;
nugetDeps = ./deps.json;
projectFile = "src/OpenTracker/OpenTracker.csproj";
executables = [ "OpenTracker" ];
nativeBuildInputs = [
autoPatchelfHook
wrapGAppsHook3
];
buildInputs = [
(lib.getLib stdenv.cc.cc)
fontconfig
gtk3
icu
libkrb5
libunwind
openssl
];
runtimeDeps = [
gtk3
openssl
xinput
]
++ (with xorg; [
libICE
libSM
libX11
libXi
]);
autoPatchelfIgnoreMissingDeps = [
"libc.musl-x86_64.so.1"
"libintl.so.8"
];
meta = with lib; {
description = "Tracking application for A Link to the Past Randomizer";
homepage = "https://github.com/trippsc2/OpenTracker";
sourceProvenance = with sourceTypes; [
fromSource
# deps
binaryBytecode
binaryNativeCode
];
license = licenses.mit;
maintainers = [ ];
mainProgram = "OpenTracker";
platforms = [ "x86_64-linux" ];
};
}