# 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-ndk" version = "4.1.2" license = "Apache-2.0 OR MIT" [source] repo = "https://github.com/bbqsrc/cargo-ndk" commit = "9132e39948cd214d99d1c2b20313bac3c58a59ec" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "static" flags = ["--bin", "cargo-ndk"] [build.phases] install = "mkdir -p /out/usr/bin && cp target/release/cargo-ndk /out/usr/bin/cargo-ndk"