2022-02-28 23:40:43 +01:00
|
|
|
{ linkFarmFromDrvs, fetchurl }:
|
|
|
|
{ name, nugetDeps }:
|
2022-06-17 11:56:34 +02:00
|
|
|
linkFarmFromDrvs "${name}-nuget-deps" (nugetDeps {
|
|
|
|
fetchNuGet = { pname, version, sha256
|
|
|
|
, url ? "https://www.nuget.org/api/v2/package/${pname}/${version}" }:
|
|
|
|
fetchurl {
|
2022-09-08 16:41:32 +02:00
|
|
|
name = "${pname}.${version}.nupkg";
|
2022-06-17 11:56:34 +02:00
|
|
|
inherit url sha256;
|
2022-02-28 23:40:43 +01:00
|
|
|
};
|
2022-06-17 11:56:34 +02:00
|
|
|
})
|