# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final: # - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá # compiler/link/phases y adaptá hasta que compile. # - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren. name = "cargo-supply-chain" version = "0.3.4" license = "Apache-2.0 OR MIT OR Zlib" [source] repo = "https://github.com/rust-secure-code/cargo-supply-chain" commit = "9f540db088c83ef262f8e24f937a704e4fcf6f8d" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "static" flags = ["--bin", "cargo-supply-chain"] [build.phases] install = "mkdir -p /out/usr/bin && cp target/release/cargo-supply-chain /out/usr/bin/cargo-supply-chain"