10 buildDotnetModule (finalAttrs: {
11 pname = "formula-dotnet";
14 src = fetchFromGitHub {
16 repo = "formula-dotnet";
17 rev = "8ee2e6abfd4ce038e1d9cb9c8602dec1ed6c0163";
18 hash = "sha256-2ulv//YV3OqrfFltgUCeDe4rOPC0qqJ+80/D2lIoih8=";
21 patches = [ ./dotnet-8-upgrade.patch ];
23 dotnet-sdk = dotnetCorePackages.sdk_8_0;
24 nugetDeps = ./nuget.json;
25 projectFile = "Src/CommandLine/CommandLine.csproj";
28 lib.optionalString stdenvNoCC.hostPlatform.isLinux ''
29 mv $out/bin/CommandLine $out/bin/formula
31 + lib.optionalString stdenvNoCC.hostPlatform.isDarwin ''
32 makeWrapper ${dotnetCorePackages.runtime_8_0}/bin/dotnet $out/bin/formula \
33 --add-flags "$out/lib/formula-dotnet/CommandLine.dll" \
34 --prefix DYLD_LIBRARY_PATH : $out/lib/formula-dotnet/runtimes/macos/native
37 passthru.updateScript = unstableGitUpdater { url = finalAttrs.meta.homepage; };
40 description = "Formal Specifications for Verification and Synthesis";
41 homepage = "https://github.com/VUISIS/formula-dotnet";
42 license = licenses.mspl;
43 maintainers = with maintainers; [ siraben ];
44 platforms = platforms.unix;
45 mainProgram = "formula";