nixpkgs/pkgs/build-support/dotnet/make-nuget-deps/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
408 B
Nix
Raw Normal View History

2024-06-15 19:53:16 +00:00
{ symlinkJoin
, fetchurl
, stdenvNoCC
, lib
, unzip
, patchNupkgs
, nugetPackageHook
, fetchNupkg
2024-06-15 19:53:16 +00:00
}:
lib.makeOverridable(
{ name
, nugetDeps ? import sourceFile
, sourceFile ? null
, installable ? false
}:
(symlinkJoin {
name = "${name}-nuget-deps";
paths = nugetDeps {
fetchNuGet = args: fetchNupkg (args // { inherit installable; });
2024-06-15 19:53:16 +00:00
};
}) // {
inherit sourceFile;
})