Skip to content

Commit

Permalink
fix(dhall-lang/dhall-haskell): Re-scaffold (#31120)
Browse files Browse the repository at this point in the history
* feat(dhall-lang/dhall-haskell): scaffold dhall-lang/dhall-haskell

* fix(dhall-lang/dhall-haskell): fix version_overrides
  • Loading branch information
suzuki-shunsuke authored Jan 20, 2025
1 parent e01e915 commit 1f995a9
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 48 deletions.
21 changes: 17 additions & 4 deletions pkgs/dhall-lang/dhall-haskell/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
packages:
- name: dhall-lang/[email protected]
- name: dhall-lang/[email protected]
- name: dhall-lang/dhall-haskell
version: 1.42.0
- name: dhall-lang/dhall-haskell
version: 1.41.2
- name: dhall-lang/dhall-haskell
version: 1.41.1
- name: dhall-lang/dhall-haskell
version: 1.40.1
# TODO https://github.com/aquaproj/aqua-registry/pull/4054
# - name: dhall-lang/dhall-haskell
# version: 1.40.0
- name: dhall-lang/dhall-haskell
version: 1.39.0
- name: dhall-lang/dhall-haskell
version: 1.24.0
- name: dhall-lang/dhall-haskell
version: 1.22.0
- name: dhall-lang/dhall-haskell
version: 1.20.1
- name: dhall-lang/dhall-haskell
version: 1.17.0
- name: dhall-lang/dhall-haskell
version: 1.9.0-rc1
167 changes: 145 additions & 22 deletions pkgs/dhall-lang/dhall-haskell/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,159 @@ packages:
repo_owner: dhall-lang
repo_name: dhall-haskell
description: Maintainable configuration files
rosetta2: true
supported_envs:
- darwin
- amd64
asset: dhall-{{.Version}}-x86_64-{{.OS}}.{{.Format}}
format: tar.bz2
overrides:
- goos: windows
format: zip
replacements:
darwin: macos
amd64: x86_64
files:
- name: dhall
src: bin/dhall
version_constraint: semver(">= 1.40.2")
version_constraint: "false"
version_overrides:
- version_constraint: semver(">= 1.40.1")
- version_constraint: Version == "1.42.1"
no_asset: true
- version_constraint: Version == "1.40.0"
error_message: "tar.bz2.zip is not supported"
- version_constraint: semver("<= 1.9.0-rc1")
asset: "{{.OS}}.{{.Format}}"
format: tar.gz
replacements:
darwin: osx
supported_envs:
- linux/amd64
- darwin
- version_constraint: semver("<= 1.16.0")
no_asset: true
- version_constraint: semver("<= 1.17.0")
asset: dhall-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.bz2
files:
- name: dhall
src: bin/dhall
replacements:
amd64: x86_64
supported_envs:
- linux/amd64
- version_constraint: semver("<= 1.24.0")
asset: dhall-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.bz2
windows_arm_emulation: true
files:
- name: dhall
src: bin/dhall
replacements:
amd64: x86_64
overrides:
- goos: windows
complete_windows_ext: false
- version_constraint: semver(">= 1.40.0")
format: zip
files:
- name: dhall
supported_envs:
- linux/amd64
- windows
- version_constraint: semver("<= 1.39.0")
asset: dhall-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.bz2
rosetta2: true
windows_arm_emulation: true
files:
- name: dhall
src: bin/dhall
replacements:
amd64: x86_64
darwin: macos
overrides:
- goos: windows
format: tar.bz2.zip
- goos: darwin
format: tar.bz2.zip
format: zip
files:
- name: dhall
supported_envs:
- darwin
- windows
- amd64
- version_constraint: Version == "1.40.1"
asset: dhall-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.bz2
rosetta2: true
windows_arm_emulation: true
files:
- name: dhall
src: bin/dhall
replacements:
amd64: x86_64
darwin: macos
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 1.41.1")
asset: dhall-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.bz2
rosetta2: true
windows_arm_emulation: true
files:
- name: dhall
src: bin/dhall
replacements:
amd64: x86_64
darwin: macos
overrides:
- goos: windows
format: zip
supported_envs:
- darwin
- windows
- amd64
- version_constraint: Version == "1.41.2"
asset: dhall-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.bz2
rosetta2: true
windows_arm_emulation: true
files:
- name: dhall
src: bin/dhall
replacements:
amd64: x86_64
darwin: macOS
linux: Linux
windows: Windows
overrides:
- goos: windows
format: zip
supported_envs:
- darwin
- windows
- amd64
- version_constraint: Version == "1.42.0"
asset: dhall-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.bz2
rosetta2: true
windows_arm_emulation: true
files:
- name: dhall
src: bin/dhall
replacements:
amd64: x86_64
darwin: macOS
windows: Windows
overrides:
- goos: windows
format: zip
supported_envs:
- darwin
- windows
- amd64
- version_constraint: "true"
asset: dhall-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.bz2
windows_arm_emulation: true
files:
- name: dhall
src: bin/dhall
replacements:
amd64: x86_64
overrides:
- goos: darwin
replacements:
arm64: aarch64
- goos: windows
format: zip
files:
- name: dhall
supported_envs:
- darwin
- windows
- amd64
167 changes: 145 additions & 22 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1f995a9

Please sign in to comment.