19 hash = "sha256-AZNIrmtqg8ekBtFFN8J3zs96OlOyY+w0LIHe1YRaZ+4=";
22 # This buildDotnetModule is used only to get nuget sources, the actual
23 # build is done in `buildPythonPackage` below.
24 dotnet-build = buildDotnetModule {
25 inherit pname version src;
26 projectFile = [ "netfx_loader/ClrLoader.csproj" "example/example.csproj" ];
27 nugetDeps = ./deps.nix;
31 inherit pname version src;
39 dotnetCorePackages.sdk_6_0
42 propagatedBuildInputs = [
51 # TODO: mono does not work due to https://github.com/NixOS/nixpkgs/issues/7307
54 "test_mono_signal_chaining"
58 # Perform dotnet restore based on the nuget-source
60 dotnet restore "netfx_loader/ClrLoader.csproj" \
61 -p:ContinuousIntegrationBuild=true \
62 -p:Deterministic=true \
63 --source "${dotnet-build.nuget-source}"
65 dotnet restore "example/example.csproj" \
66 -p:ContinuousIntegrationBuild=true \
67 -p:Deterministic=true \
68 --source "${dotnet-build.nuget-source}"
71 passthru.fetch-deps = dotnet-build.fetch-deps;
74 description = "Generic pure Python loader for .NET runtimes";
75 homepage = "https://pythonnet.github.io/clr-loader/";
76 license = licenses.mit;
77 maintainers = with maintainers; [ mdarocha ];