Files
takana/recipes/incoming/yazi.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

42 lines
1.6 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 = "yazi"
version = "26.5.6"
[source]
tarball = "https://github.com/sxyazi/yazi/archive/refs/tags/v26.5.6.tar.gz"
# FIXME sha256: el wrapper lo calcula (Alpine publica sha512). sha512 de Alpine:
# sha512 = "2f1b980753c82f5e4186759ec6c40df6c2d740b3521fe31edaff69802701b0c5292c03fde5a1e775e17e91c694ea63c0b16a149fa39ccc609b4780281421d38e"
sha256 = "a18445df86a20068f7b17609d12d6f635de488958579ae7a2b143a244ba7e63f"
patches = ["system-lua.patch"]
[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() {
YAZI_GEN_COMPLETIONS=true cargo auditable build --release --frozen --workspace --no-default-features
}
_abuild_phase
'''
# de package() de Alpine (traducido $pkgdir→/out):
install = '''
_abuild_phase() {
install -Dm755 target/release/yazi "/out"/usr/bin/yazi
install -Dm644 yazi-boot/completions/yazi.bash "/out"/usr/share/bash-completion/completions/yazi
install -Dm644 yazi-boot/completions/yazi.fish "/out"/usr/share/fish/vendor_completions.d/yazi.fish
install -Dm644 yazi-boot/completions/_yazi "/out"/usr/share/zsh/site-functions/_yazi
install -Dm644 LICENSE "/out"/usr/share/licenses/yazi/LICENSE
}
_abuild_phase
'''
[deps]
build = ["lua5.5"]