From 3f877677a2460cd8c644d3ea51db5851120c1862 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Mon, 15 Dec 2025 11:06:12 -0600 Subject: [PATCH] feat(registry): add aqua backend for zigmod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds zigmod to mise's bundled aqua registry and sets it as the primary backend. This fixes binary naming issues on older zigmod versions where the binary included the version in its name. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../pkgs/nektro/zigmod/registry.yaml | 22 +++++++++++++++++++ registry.toml | 6 ++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 crates/aqua-registry/aqua-registry/pkgs/nektro/zigmod/registry.yaml diff --git a/crates/aqua-registry/aqua-registry/pkgs/nektro/zigmod/registry.yaml b/crates/aqua-registry/aqua-registry/pkgs/nektro/zigmod/registry.yaml new file mode 100644 index 0000000000..7742d4cc75 --- /dev/null +++ b/crates/aqua-registry/aqua-registry/pkgs/nektro/zigmod/registry.yaml @@ -0,0 +1,22 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json +packages: + - type: github_release + repo_owner: nektro + repo_name: zigmod + description: Zig package manager + version_prefix: "r" + asset: zigmod-{{.Arch}}-{{.OS}} + format: raw + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: macos + overrides: + - goos: windows + asset: zigmod-{{.Arch}}-{{.OS}}.exe + supported_envs: + - darwin + - linux/amd64 + - linux/arm64 + - windows/amd64 + - windows/arm64 diff --git a/registry.toml b/registry.toml index d1267ce4e9..f16966728c 100644 --- a/registry.toml +++ b/registry.toml @@ -5307,7 +5307,11 @@ description = "Fort Knox for your secrets" test = ["fnox --version", "fnox {{version}}"] [tools.zigmod] -backends = ["github:nektro/zigmod", "asdf:mise-plugins/asdf-zigmod"] +backends = [ + "aqua:nektro/zigmod", + "github:nektro/zigmod", + "asdf:mise-plugins/asdf-zigmod", +] description = "A package manager for the Zig programming language" test = ["zigmod version", "{{version}}"]