Files
hammer/recipes/incoming/rep-grep.toml
T

20 lines
670 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 = "rep-grep"
version = "0.0.8"
[source]
repo = "https://github.com/robenkleene/rep-grep"
commit = "9adb6b048117282dba8489f32e16bde4aad34149"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "rep"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/rep /out/usr/bin/rep"