1 { lib, stdenv, callPackage, makeWrapper, jq, nix-prefetch-git }:
6 nativeBuildInputs = [ makeWrapper ];
11 install -vD ${./swiftpm2nix.sh} $out/bin/swiftpm2nix
12 wrapProgram $out/bin/$name \
13 --prefix PATH : ${lib.makeBinPath [ jq nix-prefetch-git ]} \
16 preferLocalBuild = true;
18 passthru = callPackage ./support.nix { };
21 description = "Generate a Nix expression to fetch swiftpm dependencies";
22 mainProgram = "swiftpm2nix";
23 maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ];
24 platforms = lib.platforms.all;