diff --git a/pkgs/rust-lang/rustup/rustup-init/pkg.yaml b/pkgs/rust-lang/rustup/rustup-init/pkg.yaml new file mode 100644 index 00000000000..e3002fb88d6 --- /dev/null +++ b/pkgs/rust-lang/rustup/rustup-init/pkg.yaml @@ -0,0 +1,2 @@ +packages: + - name: rust-lang/rustup/rustup-init@1.28.1 diff --git a/pkgs/rust-lang/rustup/rustup-init/registry.yaml b/pkgs/rust-lang/rustup/rustup-init/registry.yaml new file mode 100644 index 00000000000..b355cb48583 --- /dev/null +++ b/pkgs/rust-lang/rustup/rustup-init/registry.yaml @@ -0,0 +1,29 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json +packages: + - name: rust-lang/rustup/rustup-init + type: http + repo_owner: rust-lang + repo_name: rustup + description: The installer for rustup + version_source: github_tag + version_constraint: "false" + version_overrides: + - version_constraint: "true" + url: https://static.rust-lang.org/rustup/archive/{{.Version}}/{{.Arch}}-{{.OS}}/rustup-init + format: raw + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: apple-darwin + linux: unknown-linux-gnu + windows: pc-windows-msvc + checksum: + type: http + url: https://static.rust-lang.org/rustup/archive/{{.Version}}/{{.Arch}}-{{.OS}}/rustup-init.sha256 + algorithm: sha256 + overrides: + - goos: windows + checksum: + type: http + url: https://static.rust-lang.org/rustup/archive/{{.Version}}/{{.Arch}}-{{.OS}}/rustup-init.exe.sha256 + algorithm: sha256 diff --git a/registry.yaml b/registry.yaml index a99ee02470a..cc196897855 100644 --- a/registry.yaml +++ b/registry.yaml @@ -59544,6 +59544,33 @@ packages: format: zip files: - name: rust-analyzer + - name: rust-lang/rustup/rustup-init + type: http + repo_owner: rust-lang + repo_name: rustup + description: The installer for rustup + version_source: github_tag + version_constraint: "false" + version_overrides: + - version_constraint: "true" + url: https://static.rust-lang.org/rustup/archive/{{.Version}}/{{.Arch}}-{{.OS}}/rustup-init + format: raw + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: apple-darwin + linux: unknown-linux-gnu + windows: pc-windows-msvc + checksum: + type: http + url: https://static.rust-lang.org/rustup/archive/{{.Version}}/{{.Arch}}-{{.OS}}/rustup-init.sha256 + algorithm: sha256 + overrides: + - goos: windows + checksum: + type: http + url: https://static.rust-lang.org/rustup/archive/{{.Version}}/{{.Arch}}-{{.OS}}/rustup-init.exe.sha256 + algorithm: sha256 - type: github_release repo_owner: rustic-rs repo_name: rustic