2024-05-18 16:35:10 -04:00
|
|
|
{
|
|
|
|
lib,
|
2024-05-18 06:27:33 -04:00
|
|
|
buildDotnetModule,
|
|
|
|
dotnetCorePackages,
|
|
|
|
fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDotnetModule {
|
|
|
|
pname = "sabretools";
|
2024-10-24 01:24:22 -04:00
|
|
|
version = "1.2.0";
|
2024-05-18 06:27:33 -04:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SabreTools";
|
|
|
|
repo = "SabreTools";
|
2024-10-28 01:52:53 -04:00
|
|
|
rev = "929dc28b6e13c802d6dba405f6c71e959745b520";
|
|
|
|
hash = "sha256-euvTNU2lwRIt0TxjSfIAIHAGo5qGlm2SjNgdfYIT9EI=";
|
2024-05-18 06:27:33 -04:00
|
|
|
fetchSubmodules = true;
|
|
|
|
leaveDotGit = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
|
|
|
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
|
|
|
nugetDeps = ./deps.nix;
|
2024-05-18 16:35:10 -04:00
|
|
|
# projectFile = "SabreTools.sln";
|
|
|
|
projectFile = "SabreTools/SabreTools.csproj";
|
2024-05-18 06:27:33 -04:00
|
|
|
dotnetBuildFlags = [ "--framework net8.0" ];
|
|
|
|
dotnetInstallFlags = [ "--framework net8.0" ];
|
|
|
|
|
2024-06-18 05:00:03 -04:00
|
|
|
executables = [ "SabreTools" ];
|
|
|
|
|
2024-05-18 16:35:10 -04:00
|
|
|
postFixup = ''
|
|
|
|
mv $out/bin/SabreTools $out/bin/sabretools
|
|
|
|
'';
|
|
|
|
|
2024-05-18 06:27:33 -04:00
|
|
|
meta = {
|
|
|
|
description = "DAT management tool with advanced editing and sorting features";
|
|
|
|
homepage = "https://github.com/SabreTools/SabreTools";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
|
|
|
mainProgram = "SabreTools";
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|