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