nixos_config/home/packages/hactoolnet/package.nix

36 lines
946 B
Nix
Raw Permalink Normal View History

{
lib,
buildDotnetModule,
dotnetCorePackages,
fetchFromGitHub,
}:
buildDotnetModule {
pname = "libhac";
2024-08-30 00:05:23 -04:00
version = "2024.08.29";
src = fetchFromGitHub {
owner = "Thealexbarney";
repo = "LibHac";
2024-08-30 00:05:23 -04:00
rev = "fefa38ff2204de978efdf9df1ff193d85d4d83e5";
hash = "sha256-m+aHMNz0C77dJpukvkNTlTYBlUAkmJxGSB27UuNTGVc=";
};
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
nugetDeps = ./deps.nix;
projectFile = "src/hactoolnet/hactoolnet.csproj";
selfContainedBuild = false;
dotnetBuildFlags = [ "--framework net8.0" ];
dotnetInstallFlags = [ "--framework net8.0" ];
meta = {
description = "A library that reimplements parts of the Nintendo Switch OS";
homepage = "https://github.com/Thealexbarney/LibHac";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
mainProgram = "hactoolnet";
platforms = lib.platforms.linux;
};
}