mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 05:57:28 +00:00
11 lines
311 B
Nix
11 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;
|
|
};
|
|
})
|