9 stdenv.mkDerivation (attrs: {
13 src = fetchFromGitHub {
15 repo = "linux-packaging-nuget";
16 rev = "upstream/${attrs.version}.bin";
17 hash = "sha256-9/dSeVshHbpYIgGE/8OzrB4towrWVB3UxDi8Esmbu7Y=";
27 mkdir -p $out/lib/${attrs.pname}
28 cp -r . $out/lib/${attrs.pname}/
34 --add-flags "$out/lib/${attrs.pname}/nuget.exe"
40 description = "Package manager for the .NET platform";
41 mainProgram = "nuget";
42 homepage = "https://www.mono-project.com/";
44 NuGet is the package manager for the .NET platform.
45 This derivation bundles the Mono NuGet CLI, which is mostly used by
46 older projects based on .NET Framework.
48 Newer .NET projects can use the dotnet CLI, which has most of this
49 packages functionality built-in.
51 # https://learn.microsoft.com/en-us/nuget/resources/nuget-faq#what-is-the-license-for-nuget-exe-
52 license = licenses.mit;
53 sourceProvenance = [ sourceTypes.binaryBytecode ];
54 maintainers = [ maintainers.mdarocha ];
55 inherit (mono.meta) platforms;