Etapa G: cosecha fuel-5 del VPS — 7 CLI-Rust (repo 292->299)
aichat/caligula/cotp/diskus/otree/pls/russ. Build-yield VPS 7/11; quedan staged 4 (projectable/qrtool/rwalk fallan, wthrr misimport). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# 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 = "cotp"
|
||||
version = "1.9.10"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/replydev/cotp"
|
||||
commit = "a69e71dd5ced6bc61cfc7315455d8ab7b7ead9ef"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = ["--bin", "cotp"]
|
||||
|
||||
[build.phases]
|
||||
install = "mkdir -p /out/usr/bin && cp target/release/cotp /out/usr/bin/cotp"
|
||||
|
||||
# buildInputs de nix (NO deps de hammer — cargo vendorea; backend Rust por
|
||||
# defecto). Si algún sys-crate C falla, adaptá per-paquete (patch/feature): libxcb
|
||||
Reference in New Issue
Block a user