Etapa G: fuel-go-1 — primera tanda Go con importador automatizado
22 CLI Go importadas 21/22 con plantilla Go automatica (deps.build=[go], sin phases): chezmoi/dive/duf/fx/fzf/gdu/glow/go-task/gobuster/gojq/grpcurl/gum/ hey/jid/lazydocker/lazygit/mage/mods/pet/skate/yq-go. Smoke local: jid+fx OK. Restos de fuel-6+7 a hold (retomar del store). glab descartado (vino de Alpine). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# 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 = "chezmoi"
|
||||
version = "2.70.5"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/twpayne/chezmoi"
|
||||
commit = "b81bd8daa23126bd5f1b2f787141b2b69439abee"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "dive"
|
||||
version = "0.13.1"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/wagoodman/dive"
|
||||
commit = "fe98c8a2eb08c443a36e3cc7568078909e298433"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go, btrfs-progs, gpgme, lvm2
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "duf"
|
||||
version = "0.9.1"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/muesli/duf"
|
||||
commit = "b2f01a1ecbfd1af63015b83296c50a95260f97b1"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "fzf"
|
||||
version = "0.73.1"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/junegunn/fzf"
|
||||
commit = "ce4bef75954bebd87e0886435bcf8c6904328ab0"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go, ncurses
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "gdu"
|
||||
version = "5.36.1"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/dundee/gdu"
|
||||
commit = "8d64b4f1ef50bf6694cd17e060f9fd80aed3e297"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "glow"
|
||||
version = "2.1.2"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/charmbracelet/glow"
|
||||
commit = "f57087499b407d420cdad1d76d0e1ed33c77a3d8"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "go-task"
|
||||
version = "3.48.0"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/go-task/task"
|
||||
commit = "09e7247d0552ccb48146994d817e6d585c70ab0f"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "gobuster"
|
||||
version = "3.8.2"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/OJ/gobuster"
|
||||
commit = "e8410cad6cacf08b82e2f610055f636f0be61c40"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "gojq"
|
||||
version = "0.12.19"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/itchyny/gojq"
|
||||
commit = "b7ebffbfc038677520df0bae4c8c2d877f88ffea"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "grpcurl"
|
||||
version = "1.9.3"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/fullstorydev/grpcurl"
|
||||
commit = "d00c28104be4b06f4dd887196ccfc57b054aa069"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "gum"
|
||||
version = "0.17.0"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/charmbracelet/gum"
|
||||
commit = "6045525ab92f75c169d3c69596844d8748437e37"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "hey"
|
||||
version = "0.1.4"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/rakyll/hey"
|
||||
commit = "af177063f85bd935c55f1f2ee59c2898d9654f82"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "jid"
|
||||
version = "1.1.2"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/simeji/jid"
|
||||
commit = "4e3339e5ef74885296e7c33a7c141ad2055fd5a1"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "lazydocker"
|
||||
version = "0.25.2"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/jesseduffield/lazydocker"
|
||||
commit = "7e7aadc2071d58031bf2daafca1fbd4093efc23f"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "lazygit"
|
||||
version = "0.62.2"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/jesseduffield/lazygit"
|
||||
commit = "009c8975beb322f9374789476ac65dfa02321fce"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "mage"
|
||||
version = "1.17.2"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/magefile/mage"
|
||||
commit = "0953947c1673fd745a51c032aadeb3c63f9f3368"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "mods"
|
||||
version = "1.8.1"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/charmbracelet/mods"
|
||||
commit = "9b36cf882989cf6807ec82f8afbc56d418ba9264"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "pet"
|
||||
version = "1.0.1"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/knqyf263/pet"
|
||||
commit = "c42fe201020f1930e138589c5749dc4a3ae05f7d"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "skate"
|
||||
version = "1.0.1"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/charmbracelet/skate"
|
||||
commit = "c5846a56859e43be2ec7b8d700c882825e463a0f"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -1,95 +0,0 @@
|
||||
Build against system-provided zlib library.
|
||||
|
||||
--- a/duckscript_sdk/Cargo.toml
|
||||
+++ b/duckscript_sdk/Cargo.toml
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
[dependencies]
|
||||
attohttpc = { version = "^0.28", default-features = false, features = [
|
||||
- "compress",
|
||||
+ "compress-zlib",
|
||||
] }
|
||||
base64 = "^0.22"
|
||||
cfg-if = "^1"
|
||||
@@ -49,7 +49,7 @@
|
||||
whoami = "^1"
|
||||
zip = { version = "^2", default-features = false, features = [
|
||||
"bzip2",
|
||||
- "deflate",
|
||||
+ "deflate-zlib",
|
||||
"time",
|
||||
] }
|
||||
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -380,6 +380,7 @@
|
||||
checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0"
|
||||
dependencies = [
|
||||
"crc32fast",
|
||||
+ "libz-sys",
|
||||
"miniz_oxide",
|
||||
]
|
||||
|
||||
@@ -653,18 +654,23 @@
|
||||
checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
|
||||
|
||||
[[package]]
|
||||
+name = "libz-sys"
|
||||
+version = "1.1.20"
|
||||
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
+checksum = "d2d16453e800a8cf6dd2fc3eb4bc99b786a9b90c663b8559a5b1a041bf89e472"
|
||||
+dependencies = [
|
||||
+ "cc",
|
||||
+ "pkg-config",
|
||||
+ "vcpkg",
|
||||
+]
|
||||
+
|
||||
+[[package]]
|
||||
name = "linux-raw-sys"
|
||||
version = "0.4.14"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
|
||||
|
||||
[[package]]
|
||||
-name = "lockfree-object-pool"
|
||||
-version = "0.1.6"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
|
||||
-
|
||||
-[[package]]
|
||||
name = "log"
|
||||
version = "0.4.22"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@@ -1064,12 +1070,6 @@
|
||||
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
||||
|
||||
[[package]]
|
||||
-name = "simd-adler32"
|
||||
-version = "0.3.7"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
|
||||
-
|
||||
-[[package]]
|
||||
name = "spin"
|
||||
version = "0.9.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@@ -1571,19 +1571,4 @@
|
||||
"memchr",
|
||||
"thiserror",
|
||||
"time",
|
||||
- "zopfli",
|
||||
-]
|
||||
-
|
||||
-[[package]]
|
||||
-name = "zopfli"
|
||||
-version = "0.8.1"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
|
||||
-dependencies = [
|
||||
- "bumpalo",
|
||||
- "crc32fast",
|
||||
- "lockfree-object-pool",
|
||||
- "log",
|
||||
- "once_cell",
|
||||
- "simd-adler32",
|
||||
]
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 = "yq-go"
|
||||
version = "4.53.3"
|
||||
|
||||
[source]
|
||||
repo = "https://github.com/mikefarah/yq"
|
||||
commit = "1b9b4ac5187171d2e5e3129be0cfa827c7f9d53d"
|
||||
|
||||
[build]
|
||||
compiler = "zig-cc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
# buildInputs de nix (no usados con CGO off): go, pandoc-cli
|
||||
[deps]
|
||||
build = ["go"]
|
||||
@@ -0,0 +1,24 @@
|
||||
# fuel-go-1 — primera tanda Go con el importador automatizado (2026-06-26).
|
||||
# CLI Go populares, puro-Go (sin CGO). nix attr donde difiere del binario.
|
||||
glow
|
||||
gum
|
||||
gdu
|
||||
dive
|
||||
hey
|
||||
fzf
|
||||
fx
|
||||
gojq
|
||||
yq-go
|
||||
go-task
|
||||
mage
|
||||
chezmoi
|
||||
pet
|
||||
mods
|
||||
skate
|
||||
glab
|
||||
grpcurl
|
||||
gobuster
|
||||
lazygit
|
||||
lazydocker
|
||||
duf
|
||||
jid
|
||||
@@ -0,0 +1,64 @@
|
||||
# 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 = "glab"
|
||||
version = "1.102.0"
|
||||
|
||||
[source]
|
||||
tarball = "https://gitlab.com/gitlab-org/cli/-/archive/v1.102.0/cli-v1.102.0.tar.gz"
|
||||
# FIXME sha256: el wrapper lo calcula (Alpine publica sha512). sha512 de Alpine:
|
||||
# sha512 = "5015ecee3240514b135b0498183b9a912ad4b4fcdc7b1f06d62777904084aeece14ef585c5fee733b5cf5392a214d9b05fe7053b4c6dd21a38c9a3552e748b17"
|
||||
sha256 = "40b1ba91634c150c01358bf41dd7878621002a248a40e5d62926bdf64e89709a"
|
||||
patches = ["no-telemetry.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() {
|
||||
# date seems a little broken to override
|
||||
go build -ldflags "
|
||||
-X main.debugMode=false
|
||||
-X main.version=v1.102.0
|
||||
-X main.buildDate=$(date -u "+%Y-%m-%d" ${SOURCE_DATE_EPOCH:+-d @$SOURCE_DATE_EPOCH})
|
||||
-extldflags \"$LDFLAGS\"
|
||||
" \
|
||||
-o build/bin/glab \
|
||||
./cmd/glab/main.go
|
||||
|
||||
go run ./cmd/gen-docs/docs.go --manpage --path ./build/man
|
||||
|
||||
# XXX: When glab is run in fakeroot it segfaults for some reason
|
||||
# on ppc64le. By generating the compilation files here we
|
||||
# workaround that but we need to investigate why it segfaults in
|
||||
# fakeroot eventually.
|
||||
mkdir -p build/shell
|
||||
build/bin/glab completion --shell bash > build/shell/bash.comp
|
||||
build/bin/glab completion --shell zsh > build/shell/zsh.comp
|
||||
build/bin/glab completion --shell fish > build/shell/fish.comp
|
||||
}
|
||||
_abuild_phase
|
||||
'''
|
||||
# de package() de Alpine (traducido $pkgdir→/out):
|
||||
install = '''
|
||||
_abuild_phase() {
|
||||
install -Dm755 build/bin/glab -t "/out"/usr/bin/
|
||||
|
||||
install -Dm644 build/man/*.1 -t "/out"/usr/share/man/man1/
|
||||
|
||||
install -Dm644 build/shell/bash.comp \
|
||||
"/out"/usr/share/bash-completion/completions/glab.bash
|
||||
install -Dm644 build/shell/zsh.comp \
|
||||
"/out"/usr/share/zsh/site-functions/_glab
|
||||
install -Dm644 build/shell/fish.comp \
|
||||
"/out"/usr/share/fish/vendor_completions.d/glab.fish
|
||||
}
|
||||
_abuild_phase
|
||||
'''
|
||||
|
||||
# depends de runtime de Alpine (NO build-deps): git
|
||||
Reference in New Issue
Block a user