From 078a4a0d7d5a3c8ecdab7ad2a8fbe247bd36abf5 Mon Sep 17 00:00:00 2001 From: sergio Date: Sun, 21 Jun 2026 17:16:03 -0400 Subject: [PATCH] =?UTF-8?q?Etapa=20G:=20recarga=20la=20cola=20=E2=80=94=20?= =?UTF-8?q?tanda=20Rust=20#3=20importada=20(28=20staged=20para=20la=20pr?= =?UTF-8?q?=C3=B3xima=20granja)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit import-batch sobre tandas/cli-rust-3.txt (30 entradas) -> 27/30 importadas en ~2min (nix=25, alpine=2; fallaron yazi/rip/lln por src no-clasificable). pin ancló 24 tag->SHA. Dedup de 5 ya-en-corpus. Cola = 28 recetas listas (incl. helix/nushell/ gitoxide/ruff/uv/mdbook/jaq/bacon/... + los 6 staged previos). Aplica la lección: el import recarga en minutos; el build es trabajo de granja (build-farm.sh, paciencia con los binarios grandes — no son deadlocks). --- recipes/incoming/bacon.toml | 19 +++++++ recipes/incoming/biome.toml | 22 ++++++++ recipes/incoming/cargo-nextest.toml | 19 +++++++ recipes/incoming/cargo-watch.toml | 19 +++++++ recipes/incoming/felix.toml | 16 ++++++ .../incoming/fix-gotmpl-grammar-source.patch | 13 +++++ recipes/incoming/fx.toml | 19 +++++++ recipes/incoming/gitoxide.toml | 22 ++++++++ recipes/incoming/hck.toml | 22 ++++++++ recipes/incoming/helix.toml | 52 +++++++++++++++++++ recipes/incoming/htmlq.toml | 19 +++++++ recipes/incoming/jaq.toml | 19 +++++++ recipes/incoming/joshuto.toml | 19 +++++++ recipes/incoming/mdbook.toml | 19 +++++++ recipes/incoming/nu.toml | 45 ++++++++++++++++ recipes/incoming/oxlint.toml | 22 ++++++++ recipes/incoming/ruff.toml | 22 ++++++++ recipes/incoming/sccache.toml | 22 ++++++++ recipes/incoming/system-deps.patch | 50 ++++++++++++++++++ recipes/incoming/taplo.toml | 22 ++++++++ recipes/incoming/tre.toml | 19 +++++++ recipes/incoming/typos.toml | 19 +++++++ recipes/incoming/uv.toml | 22 ++++++++ recipes/incoming/xplr.toml | 19 +++++++ tandas/cli-rust-3.txt | 33 ++++++++++++ 25 files changed, 594 insertions(+) create mode 100644 recipes/incoming/bacon.toml create mode 100644 recipes/incoming/biome.toml create mode 100644 recipes/incoming/cargo-nextest.toml create mode 100644 recipes/incoming/cargo-watch.toml create mode 100644 recipes/incoming/felix.toml create mode 100644 recipes/incoming/fix-gotmpl-grammar-source.patch create mode 100644 recipes/incoming/fx.toml create mode 100644 recipes/incoming/gitoxide.toml create mode 100644 recipes/incoming/hck.toml create mode 100644 recipes/incoming/helix.toml create mode 100644 recipes/incoming/htmlq.toml create mode 100644 recipes/incoming/jaq.toml create mode 100644 recipes/incoming/joshuto.toml create mode 100644 recipes/incoming/mdbook.toml create mode 100644 recipes/incoming/nu.toml create mode 100644 recipes/incoming/oxlint.toml create mode 100644 recipes/incoming/ruff.toml create mode 100644 recipes/incoming/sccache.toml create mode 100644 recipes/incoming/system-deps.patch create mode 100644 recipes/incoming/taplo.toml create mode 100644 recipes/incoming/tre.toml create mode 100644 recipes/incoming/typos.toml create mode 100644 recipes/incoming/uv.toml create mode 100644 recipes/incoming/xplr.toml create mode 100644 tandas/cli-rust-3.txt diff --git a/recipes/incoming/bacon.toml b/recipes/incoming/bacon.toml new file mode 100644 index 00000000..0054cb25 --- /dev/null +++ b/recipes/incoming/bacon.toml @@ -0,0 +1,19 @@ +# 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 = "bacon" +version = "3.23.0" + +[source] +repo = "https://github.com/Canop/bacon" +commit = "5714d016e03dde3b155ff156933eed935499cdb6" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "bacon"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/bacon /out/usr/bin/bacon" diff --git a/recipes/incoming/biome.toml b/recipes/incoming/biome.toml new file mode 100644 index 00000000..7dc2c276 --- /dev/null +++ b/recipes/incoming/biome.toml @@ -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 = "biome" +version = "2.4.16" + +[source] +repo = "https://github.com/biomejs/biome" +commit = "5f4ea56b1dfb00d839af218e3c6484154073a7eb" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "biome"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/biome /out/usr/bin/biome" + +# 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): git-minimal, libgit2, jemalloc, zlib diff --git a/recipes/incoming/cargo-nextest.toml b/recipes/incoming/cargo-nextest.toml new file mode 100644 index 00000000..741844dd --- /dev/null +++ b/recipes/incoming/cargo-nextest.toml @@ -0,0 +1,19 @@ +# 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 = "cargo-nextest" +version = "0.9.137" + +[source] +repo = "https://github.com/nextest-rs/nextest" +commit = "75ddba7e911b44c5c0700dac0415d824403de9bd" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "cargo-nextest"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/cargo-nextest /out/usr/bin/cargo-nextest" diff --git a/recipes/incoming/cargo-watch.toml b/recipes/incoming/cargo-watch.toml new file mode 100644 index 00000000..71b447e6 --- /dev/null +++ b/recipes/incoming/cargo-watch.toml @@ -0,0 +1,19 @@ +# 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 = "cargo-watch" +version = "8.5.3" + +[source] +repo = "https://github.com/watchexec/cargo-watch" +commit = "58e792b99fade3b0c0ad198fd9627dcd4817eb37" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "cargo-watch"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/cargo-watch /out/usr/bin/cargo-watch" diff --git a/recipes/incoming/felix.toml b/recipes/incoming/felix.toml new file mode 100644 index 00000000..0049cc7f --- /dev/null +++ b/recipes/incoming/felix.toml @@ -0,0 +1,16 @@ +# 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 = "apache-felix" +version = "7.0.5" + +[source] +tarball = "https://dlcdn.apache.org/felix/org.apache.felix.main.distribution-7.0.5.tar.gz" +sha256 = "37d99b908ccc90c57644b38dbf5e448a8b09c4c53d88426fc0f5846ae3c811ef" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = [] diff --git a/recipes/incoming/fix-gotmpl-grammar-source.patch b/recipes/incoming/fix-gotmpl-grammar-source.patch new file mode 100644 index 00000000..67048c88 --- /dev/null +++ b/recipes/incoming/fix-gotmpl-grammar-source.patch @@ -0,0 +1,13 @@ +diff --git a/languages.toml b/languages.toml +index a9f4a58..85389c5 100644 +--- a/languages.toml ++++ b/languages.toml +@@ -808,7 +808,7 @@ indent = { tab-width = 2, unit = " " } + + [[grammar]] + name = "gotmpl" +-source = { git = "https://github.com/dannylongeuay/tree-sitter-go-template", rev = "395a33e08e69f4155156f0b90138a6c86764c979" } ++source = { git = "https://github.com/ngalaiko/tree-sitter-go-template", rev = "ca26229bafcd3f37698a2496c2a5efa2f07e86bc" } + + [[language]] + name = "gowork" diff --git a/recipes/incoming/fx.toml b/recipes/incoming/fx.toml new file mode 100644 index 00000000..4b4b7adc --- /dev/null +++ b/recipes/incoming/fx.toml @@ -0,0 +1,19 @@ +# 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 = "fx" +version = "39.2.0" + +[source] +repo = "https://github.com/antonmedv/fx" +commit = "c8fd8cf394083141ab912f604d332e1cfde830cb" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = [] + +[deps] +build = ["go"] diff --git a/recipes/incoming/gitoxide.toml b/recipes/incoming/gitoxide.toml new file mode 100644 index 00000000..47696f90 --- /dev/null +++ b/recipes/incoming/gitoxide.toml @@ -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 = "gitoxide" +version = "0.54.0" + +[source] +repo = "https://github.com/GitoxideLabs/gitoxide" +commit = "10c58bb56597d9335611da121aac21f9b09b6e5b" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "gix"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/gix /out/usr/bin/gix" + +# 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, curl, openssl diff --git a/recipes/incoming/hck.toml b/recipes/incoming/hck.toml new file mode 100644 index 00000000..e109f63b --- /dev/null +++ b/recipes/incoming/hck.toml @@ -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 = "hck" +version = "0.11.6" + +[source] +repo = "https://github.com/sstadick/hck" +commit = "e343425ecd8bada3a423139c305563a8d408c303" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "hck"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/hck /out/usr/bin/hck" + +# 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 diff --git a/recipes/incoming/helix.toml b/recipes/incoming/helix.toml new file mode 100644 index 00000000..18c20520 --- /dev/null +++ b/recipes/incoming/helix.toml @@ -0,0 +1,52 @@ +# 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 = "helix" +version = "25.07.1" + +[source] +tarball = "https://github.com/helix-editor/helix/archive/25.07.1/helix-25.07.1.tar.gz" +# FIXME sha256: el wrapper lo calcula (Alpine publica sha512). sha512 de Alpine: +# sha512 = "a8f64782273d88cd43b1aeadf45d1fa6a913c9c0b77c1da716ffdc64ec02e89db1bfb2dde4333509c3ddb5733b8f5a450b44ca54d35f113c3c0f411c01f4ce8c" +sha256 = "27c8bc3eba46bc7bab1e3629c6b28ff94882eeff17366b3ea69cd8ceffba7541" +patches = ["fix-gotmpl-grammar-source.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() { +# This path is embedded in the resulting binary so that helix can find + # system grammars + # https://github.com/helix-editor/helix/blob/25.01.1/helix-loader/src/lib.rs#L64 + export HELIX_DEFAULT_RUNTIME=/usr/share/helix/runtime + cargo auditable build --frozen --release +} +_abuild_phase +''' +# de package() de Alpine (traducido $pkgdir→/out): +install = ''' +_abuild_phase() { +install -D -m755 target/release/hx -t "/out"/usr/bin/ + + install -D -m644 contrib/completion/hx.bash "/out"/usr/share/bash-completion/completions/hx + install -D -m644 contrib/completion/hx.fish "/out"/usr/share/fish/vendor_completions.d/hx.fish + install -D -m644 contrib/completion/hx.zsh "/out"/usr/share/zsh/site-functions/_hx + + install -D -m644 contrib/Helix.desktop -t "/out"/usr/share/applications/ + install -D -m644 logo.svg "/out"/usr/share/icons/hicolor/scalable/apps/Helix.svg + + install -d -m755 "/out"/usr/share/"helix" + + rm runtime/grammars/.gitkeep + rm runtime/themes/README.md + rm -rf runtime/grammars/sources + cp -r runtime "/out"/usr/share/"helix" +} +_abuild_phase +''' diff --git a/recipes/incoming/htmlq.toml b/recipes/incoming/htmlq.toml new file mode 100644 index 00000000..10437c19 --- /dev/null +++ b/recipes/incoming/htmlq.toml @@ -0,0 +1,19 @@ +# 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 = "htmlq" +version = "0.4.0" + +[source] +repo = "https://github.com/mgdm/htmlq" +commit = "1361c8c46811dd7b961c3fe9c6b04f9318a345e8" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "htmlq"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/htmlq /out/usr/bin/htmlq" diff --git a/recipes/incoming/jaq.toml b/recipes/incoming/jaq.toml new file mode 100644 index 00000000..58dacf95 --- /dev/null +++ b/recipes/incoming/jaq.toml @@ -0,0 +1,19 @@ +# 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 = "jaq" +version = "3.1.0" + +[source] +repo = "https://github.com/01mf02/jaq" +commit = "ebd9d94b182fb8a38b8d8eb1e57d1319889201b9" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "jaq"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/jaq /out/usr/bin/jaq" diff --git a/recipes/incoming/joshuto.toml b/recipes/incoming/joshuto.toml new file mode 100644 index 00000000..83c9fc4c --- /dev/null +++ b/recipes/incoming/joshuto.toml @@ -0,0 +1,19 @@ +# 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 = "joshuto" +version = "0.9.9" + +[source] +repo = "https://github.com/kamiyaa/joshuto" +commit = "b8f870fc328fc5c3f4e010683901a5082a6b0790" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "joshuto"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/joshuto /out/usr/bin/joshuto" diff --git a/recipes/incoming/mdbook.toml b/recipes/incoming/mdbook.toml new file mode 100644 index 00000000..2279705d --- /dev/null +++ b/recipes/incoming/mdbook.toml @@ -0,0 +1,19 @@ +# 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 = "mdbook" +version = "0.5.2" + +[source] +repo = "https://github.com/rust-lang/mdBook" +commit = "7b29f8a7174fa4b7b31536b84ee62e50a786658b" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "mdbook"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/mdbook /out/usr/bin/mdbook" diff --git a/recipes/incoming/nu.toml b/recipes/incoming/nu.toml new file mode 100644 index 00000000..a67a82e7 --- /dev/null +++ b/recipes/incoming/nu.toml @@ -0,0 +1,45 @@ +# 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 = "nushell" +version = "0.104.1" + +[source] +tarball = "https://github.com/nushell/nushell/archive/0.104.1.tar.gz" +# FIXME sha256: el wrapper lo calcula (Alpine publica sha512). sha512 de Alpine: +# sha512 = "963efb959385d28839a1505111a3841c08cad7c1941c7c5a3dfc941d34cbd0d2a46d1602cd72f8b5920d86a03b2c157da9893f8ea2b25bbab81c12651a2e91c9" +sha256 = "3dafca8bf892f5a2afaac1122a88a7eb7f22a0b62ef901f550173a11d5cbdf6e" +patches = ["system-deps.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() { +cargo auditable build --workspace --release --frozen $_exclude_opts +} +_abuild_phase +''' +# de package() de Alpine (traducido $pkgdir→/out): +install = ''' +_abuild_phase() { +find target/release \ + -maxdepth 1 \ + -executable \ + -type f \ + -name "nu*" \ + -exec install -Dm755 '{}' -t "/out"/usr/bin/ \; + + install -Dm644 LICENSE \ + -t "/out"/usr/share/licenses/nushell/ +} +_abuild_phase +''' + +[deps] +build = ["libgit2", "libssh2", "mimalloc2", "openssl", "sqlite"] diff --git a/recipes/incoming/oxlint.toml b/recipes/incoming/oxlint.toml new file mode 100644 index 00000000..a48719cc --- /dev/null +++ b/recipes/incoming/oxlint.toml @@ -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 = "oxlint" +version = "1.69.0" + +[source] +repo = "https://github.com/oxc-project/oxc" +commit = "44ae845fe19d3700128e50e7e61d98c7a85f3f47" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "oxlint"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/oxlint /out/usr/bin/oxlint" + +# 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, nodejs, pnpm, jemalloc diff --git a/recipes/incoming/ruff.toml b/recipes/incoming/ruff.toml new file mode 100644 index 00000000..6c40d1ab --- /dev/null +++ b/recipes/incoming/ruff.toml @@ -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 = "ruff" +version = "0.15.17" + +[source] +repo = "https://github.com/astral-sh/ruff" +commit = "7c645a9a1be8258b9f9e005208a55a0b7e8e18f0" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "ruff"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/ruff /out/usr/bin/ruff" + +# 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): jemalloc diff --git a/recipes/incoming/sccache.toml b/recipes/incoming/sccache.toml new file mode 100644 index 00000000..1c5fd9d9 --- /dev/null +++ b/recipes/incoming/sccache.toml @@ -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 = "sccache" +version = "0.15.0" + +[source] +repo = "https://github.com/mozilla/sccache" +commit = "c2e4b4ca035f91f8b63978afc8e2c71f174fe306" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "sccache"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/sccache /out/usr/bin/sccache" + +# 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): openssl diff --git a/recipes/incoming/system-deps.patch b/recipes/incoming/system-deps.patch new file mode 100644 index 00000000..fc0ca5e0 --- /dev/null +++ b/recipes/incoming/system-deps.patch @@ -0,0 +1,50 @@ +diff --git a/Cargo.lock b/Cargo.lock +index dfa2b742f..b1e2d5683 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -2994,7 +2994,6 @@ version = "0.28.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "0c10584274047cb335c23d3e61bcef8e323adae7c5c8c760540f73610177fc3f" + dependencies = [ +- "cc", + "pkg-config", + "vcpkg", + ] +diff --git a/Cargo.toml b/Cargo.toml +index 650656d89..25b2882d4 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -213,7 +213,7 @@ nu-protocol = { path = "./crates/nu-protocol", version = "0.104.1" } + nu-std = { path = "./crates/nu-std", version = "0.104.1" } + nu-system = { path = "./crates/nu-system", version = "0.104.1" } + nu-utils = { path = "./crates/nu-utils", version = "0.104.1" } +-reedline = { workspace = true, features = ["bashisms", "sqlite"] } ++reedline = { workspace = true, features = ["bashisms", "sqlite-dynlib"] } + + crossterm = { workspace = true } + ctrlc = { workspace = true } +diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml +index 607bc5af9..fd6b0b82b 100644 +--- a/crates/nu-cli/Cargo.toml ++++ b/crates/nu-cli/Cargo.toml +@@ -29,7 +29,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.104.1", features = ["os"] + nu-utils = { path = "../nu-utils", version = "0.104.1" } + nu-color-config = { path = "../nu-color-config", version = "0.104.1" } + nu-ansi-term = { workspace = true } +-reedline = { workspace = true, features = ["bashisms", "sqlite"] } ++reedline = { workspace = true, features = ["bashisms", "sqlite-dynlib"] } + + chrono = { default-features = false, features = ["std"], workspace = true } + crossterm = { workspace = true } +diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml +index 28858e2a8..7f5570266 100644 +--- a/crates/nu-command/Cargo.toml ++++ b/crates/nu-command/Cargo.toml +@@ -87,7 +87,6 @@ getrandom = { workspace = true, optional = true } + rayon = { workspace = true } + roxmltree = { workspace = true } + rusqlite = { workspace = true, features = [ +- "bundled", + "backup", + "chrono", + ], optional = true } diff --git a/recipes/incoming/taplo.toml b/recipes/incoming/taplo.toml new file mode 100644 index 00000000..bbb2e726 --- /dev/null +++ b/recipes/incoming/taplo.toml @@ -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 = "taplo" +version = "0.10.0" + +[source] +repo = "https://github.com/tamasfe/taplo" +commit = "20a9145169437bb1a5629577094f20c01e83369b" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "taplo"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/taplo /out/usr/bin/taplo" + +# 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): openssl diff --git a/recipes/incoming/tre.toml b/recipes/incoming/tre.toml new file mode 100644 index 00000000..523b82be --- /dev/null +++ b/recipes/incoming/tre.toml @@ -0,0 +1,19 @@ +# 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 = "tre" +version = "0.9.0" + +[source] +repo = "https://github.com/laurikari/tre" +commit = "d0e0c997336b3210f05b3e1daa7bb5cb9900d274" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = [] + +[deps] +build = ["autoconf", "automake", "gettext", "libtool"] diff --git a/recipes/incoming/typos.toml b/recipes/incoming/typos.toml new file mode 100644 index 00000000..4428fd3e --- /dev/null +++ b/recipes/incoming/typos.toml @@ -0,0 +1,19 @@ +# 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 = "typos" +version = "1.47.2" + +[source] +repo = "https://github.com/crate-ci/typos" +commit = "37bb98842b0d8c4ffebdb75301a13db0267cef89" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "typos"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/typos /out/usr/bin/typos" diff --git a/recipes/incoming/uv.toml b/recipes/incoming/uv.toml new file mode 100644 index 00000000..d773cc3d --- /dev/null +++ b/recipes/incoming/uv.toml @@ -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 = "uv" +version = "0.11.19" + +[source] +repo = "https://github.com/astral-sh/uv" +commit = "7b2cff1c316eb3b7f52b1cc121d7e25eeea1b17c" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "uv"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/uv /out/usr/bin/uv" + +# 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): jemalloc diff --git a/recipes/incoming/xplr.toml b/recipes/incoming/xplr.toml new file mode 100644 index 00000000..13bb8932 --- /dev/null +++ b/recipes/incoming/xplr.toml @@ -0,0 +1,19 @@ +# 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 = "xplr" +version = "1.1.0" + +[source] +repo = "https://github.com/sayanarijit/xplr" +commit = "db0e781f14ba4ab0242beb36ace87b679c744d4e" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["--bin", "xplr"] + +[build.phases] +install = "mkdir -p /out/usr/bin && cp target/release/xplr /out/usr/bin/xplr" diff --git a/tandas/cli-rust-3.txt b/tandas/cli-rust-3.txt new file mode 100644 index 00000000..eff61c12 --- /dev/null +++ b/tandas/cli-rust-3.txt @@ -0,0 +1,33 @@ +# Tanda CLI Rust moderno #3 — Etapa G a escala. Tier-1 (nix navega ~100% en musl). +# Uso: NIX_STORE=$HOME/.nixstore OUTDIR=recipes/incoming scripts/import-batch.sh -f tandas/cli-rust-3.txt +# nixattr=alpinepkg donde el nombre difiere. CLIs nuevos (no en corpus, distintos a tandas 1/2). +gitoxide +mdbook +typos=typos-cli +taplo=taplo-cli +cargo-watch +hyperfine +hexyl +sccache +tokei +bacon +cargo-nextest +biome +oxlint +ruff +uv +dust +felix=felix-fm +yazi=yazi-fm +joshuto +xplr +nu=nushell +helix=helix +rip=rm-improved +lln=lln +hck +htmlq +jaq +fx +tre=tre-command +zoxide