{ buildDotnetModule, lib, fetchFromGitHub, dotnetCorePackages, SDL2, SDL2_image, SDL2_ttf, }: let dotnet = dotnetCorePackages.dotnet_8; in buildDotnetModule (finalAttrs: { pname = "yafc-ce"; version = "2.3.1"; src = fetchFromGitHub { owner = "shpaass"; repo = "yafc-ce"; rev = finalAttrs.version; hash = "sha256-t/st/s0zJRNP1Cbjo4aw02jKvuHkMh3jGmiMziMrez8="; }; projectFile = [ "Yafc/Yafc.csproj" ]; testProjectFile = [ "Yafc.Model.Tests/Yafc.Model.Tests.csproj" ]; nugetDeps = ./deps.nix; dotnet-sdk = dotnet.sdk; dotnet-runtime = dotnet.runtime; executables = [ "Yafc" ]; runtimeDeps = [ SDL2 SDL2_ttf SDL2_image ]; meta = { description = "Powerful Factorio calculator/analyser that works with mods, Community Edition"; longDescription = '' Yet Another Factorio Calculator or YAFC is a planner and analyzer. The main goal of YAFC is to help with heavily modded Factorio games. YAFC Community Edition is an updated and actively-maintained version of the original YAFC. ''; homepage = "https://github.com/shpaass/yafc-ce"; downloadPage = "https://github.com/shpaass/yafc-ce/releases/tag/${finalAttrs.version}"; changelog = "https://github.com/shpaass/yafc-ce/releases/tag/${finalAttrs.version}"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ diamond-deluxe TheColorman ]; platforms = with lib.platforms; x86_64 ++ darwin; mainProgram = "Yafc"; }; })