{ lib, buildDotnetModule, dotnetCorePackages, fetchFromGitHub }: buildDotnetModule { pname = "sabretools"; version = "1.2.0"; src = fetchFromGitHub { owner = "SabreTools"; repo = "SabreTools"; rev = "0c65e5b58855ae6a7ac57988f99c411ac87e2879"; hash = "sha256-jzJfBm+gGc7fo0fsT4nFEOYjsgitv8h85nasAHtvk3c="; fetchSubmodules = true; leaveDotGit = false; }; dotnet-sdk = dotnetCorePackages.sdk_8_0; dotnet-runtime = dotnetCorePackages.runtime_8_0; nugetDeps = ./deps.nix; # projectFile = "SabreTools.sln"; projectFile = "SabreTools/SabreTools.csproj"; dotnetBuildFlags = [ "--framework net8.0" ]; dotnetInstallFlags = [ "--framework net8.0" ]; executables = [ "SabreTools" ]; postFixup = '' mv $out/bin/SabreTools $out/bin/sabretools ''; 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; }; }