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
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{
|
|
buildDotnetModule,
|
|
dotnetCorePackages,
|
|
fetchFromGitHub,
|
|
lib,
|
|
versionCheckHook,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildDotnetModule rec {
|
|
pname = "vrcadvert";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "galister";
|
|
repo = "VrcAdvert";
|
|
tag = "v${version}";
|
|
hash = "sha256-lrRH+BBeVpYVAdFdlsYVxsBOENZseBVoAxb5v9+E7g8=";
|
|
};
|
|
|
|
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
|
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
|
dotnetFlags = [ "-p:RuntimeFrameworkVersion=${dotnet-runtime.version}" ];
|
|
|
|
nugetDeps = ./deps.json;
|
|
|
|
executables = [ "VrcAdvert" ];
|
|
|
|
doInstallCheck = true;
|
|
nativeInstallCheckInputs = [
|
|
versionCheckHook
|
|
];
|
|
versionCheckProgram = "${placeholder "out"}/bin/VrcAdvert";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Advertise your OSC app through OSCQuery";
|
|
homepage = "https://github.com/galister/VrcAdvert";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = with lib.maintainers; [ Scrumplex ];
|
|
mainProgram = "VrcAdvert";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|