pantry/projects/mise.jdx.dev/package.yml
Jacob Heider be31e4cd94 fix(mise)
closes #6121
closes #6122
closes #6128
closes #6129
closes #6137
closes #6138
2024-05-14 12:02:45 -04:00

42 lines
1 KiB
YAML

distributable:
url: https://github.com/jdx/mise/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1
# renamed at 2024.1.0
display-name: mise
provides:
- bin/rtx
- bin/mise
versions:
github: jdx/mise
strip: /v/
ignore: [0.x.y, 1.x.y] # they moved to calver
dependencies:
openssl.org: ^1.1 # newer mise after 1.35.2 versions require openssl
libgit2.org: ^1 # newer mise after 2024.5.12 versions require libgit2
build:
dependencies:
rust-lang.org: ^1.78 # stdsimd changes
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: '*'
script:
- cargo install --locked --path . --root {{prefix}}
# FIXME: <2024 isn't matching like it should. this should be split at 2024.1.0
- run: |
if test -f rtx; then
ln -s rtx mise
elif test -f mise; then
ln -s mise rtx
fi
working-directory: '{{prefix}}/bin'
env:
linux/x86-64:
# portable-atomic-1.3.1 uses this, but it's unstable
RUSTFLAGS: -C target-feature=+cmpxchg16b
test: mise --version