Files
hammer/recipes/incoming/git-absorb.toml
T
sergioandClaude Opus 4.8 ce0cf8762e Etapa G: pre-carga cola para granja nocturna — cli-rust-7 (6 vía Alpine) → incoming 21
tandas/cli-rust-7.txt (24 nombres, yield 6/24: yazi/topgrade/kalker/git-absorb/jless/tuc;
el path nix dio 0 por el gotcha de sandbox, solo Alpine). Cola incoming=21 para drenar.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 01:13:57 -04:00

49 lines
1.8 KiB
TOML

# Importada de Alpine aports por `hammer import-alpine` (Etapa G). PUNTO DE PARTIDA — pero
# YA trae los parches de musl de Alpine (lo que un import de nix pierde). Pendiente: el
# sha256 del tarball (el wrapper lo calcula), y adaptar build/install del shell de abuild.
name = "git-absorb"
version = "0.9.0"
[source]
tarball = "https://github.com/tummychow/git-absorb/archive/refs/tags/0.9.0.tar.gz"
# FIXME sha256: el wrapper lo calcula (Alpine publica sha512). sha512 de Alpine:
# sha512 = "5a02cbbb4df65340705dd6ef721cd40d8ae7eadf6926f9682de3a6ade20d9a2b1caf51e69d32b9c47e2b7a16c864f58992fbe486387c480965cc816f2b713011"
sha256 = "a0f74e6306d7fbd746d2b4a6856621d46a7f82e3e88b6bb8b6fc0480cf811f53"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = []
[build.phases]
# de build() de Alpine (traducido; el lab provee $CBUILD/$CHOST — Etapa G Fase 3; revisá --shared para estático):
compile = '''
_abuild_phase() {
cargo auditable build --frozen --release
target/release/git-absorb --gen-completions bash > git-absorb.bash
target/release/git-absorb --gen-completions fish > git-absorb.fish
target/release/git-absorb --gen-completions zsh > _git-absorb
make -C Documentation git-absorb.1
}
_abuild_phase
'''
# de package() de Alpine (traducido $pkgdir→/out):
install = '''
_abuild_phase() {
install -Dm755 --target-directory="/out"/usr/bin target/release/git-absorb
install -Dm644 git-absorb.bash "/out"/usr/share/bash-completion/completions/git-absorb
install -Dm644 git-absorb.fish "/out"/usr/share/fish/vendor_completions.d/git-absorb.fish
install -Dm644 _git-absorb "/out"/usr/share/zsh/site-functions/_git-absorb
install -Dm644 --target-directory="/out"/usr/share/man/man1 Documentation/git-absorb.1
}
_abuild_phase
'''
[deps]
build = ["asciidoc", "libgit2"]