889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
31 lines
496 B
Nix
31 lines
496 B
Nix
{ lib
|
|
, runCommandLocal
|
|
, runtimeShell
|
|
, substituteAll
|
|
, nix
|
|
, coreutils
|
|
, findutils
|
|
, gnused
|
|
, jq
|
|
, curl
|
|
}:
|
|
|
|
runCommandLocal "nuget-to-nix" {
|
|
script = substituteAll {
|
|
src = ./nuget-to-nix.sh;
|
|
inherit runtimeShell;
|
|
|
|
binPath = lib.makeBinPath [
|
|
nix
|
|
coreutils
|
|
findutils
|
|
gnused
|
|
jq
|
|
curl
|
|
];
|
|
};
|
|
|
|
meta.description = "Convert a nuget packages directory to a lockfile for buildDotnetModule";
|
|
} ''
|
|
install -Dm755 $script $out/bin/nuget-to-nix
|
|
''
|