4ec86553b1
This allows the output to be used as a nuget source.
10 lines
311 B
Nix
10 lines
311 B
Nix
{ linkFarmFromDrvs, fetchurl }:
|
|
{ name, nugetDeps }:
|
|
linkFarmFromDrvs "${name}-nuget-deps" (nugetDeps {
|
|
fetchNuGet = { pname, version, sha256
|
|
, url ? "https://www.nuget.org/api/v2/package/${pname}/${version}" }:
|
|
fetchurl {
|
|
name = "${pname}.${version}.nupkg";
|
|
inherit url sha256;
|
|
};
|
|
})
|