Files
takana/recipes/incoming/hexpatch.toml
T

23 lines
852 B
TOML

# 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 = "hexpatch"
version = "1.12.6"
[source]
repo = "https://github.com/Etto48/HexPatch"
commit = "a85c1eac953ec0e27642c525b543d985f6fb16d5"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "hexpatch"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/hexpatch /out/usr/bin/hexpatch"
# 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): cmake, python3