# 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 = "buf" version = "1.70.0" license = "Apache-2.0" [source] repo = "https://github.com/bufbuild/buf" commit = "4f657db175eb7418efef85b35db97472ff9df526" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "static" flags = ["./cmd/buf"] # varios mains en el repo; fijo el CLI real # buildInputs de nix (no usados con CGO off): go, git, protobuf [deps] build = ["go"]