2022-03-05 16:20:37 +00:00
|
|
|
{ linkFarmFromDrvs, fetchurl }:
|
|
|
|
{ name, nugetDeps }:
|
2022-06-26 10:26:21 +00:00
|
|
|
linkFarmFromDrvs "${name}-nuget-deps" (nugetDeps {
|
|
|
|
fetchNuGet = { pname, version, sha256
|
|
|
|
, url ? "https://www.nuget.org/api/v2/package/${pname}/${version}" }:
|
|
|
|
fetchurl {
|
2022-03-05 16:20:37 +00:00
|
|
|
name = "${pname}-${version}.nupkg";
|
2022-06-26 10:26:21 +00:00
|
|
|
inherit url sha256;
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
2022-06-26 10:26:21 +00:00
|
|
|
})
|