description = "Nomad Pack is a templating and packaging tool used with HashiCorp Nomad"
test = { cmd = "nomad-pack version", expected = "{{version}}" }

[[backends]]
full = "http:nomad-pack"

[backends.options]
checksum_url = "https://releases.hashicorp.com/nomad-pack/{{ version }}/nomad-pack_{{ version }}_SHA256SUMS"
url = 'https://releases.hashicorp.com/nomad-pack/{{ version }}/nomad-pack_{{ version }}_{{ os(macos="darwin") }}_{{ arch(x64="amd64") }}.zip'
version_expr = 'fromJSON(body).versions | keys() | sortVersions()'
version_list_url = "https://releases.hashicorp.com/nomad-pack/index.json"

[[backends]]
full = "asdf:mise-plugins/mise-hashicorp"
