pantry/projects/mise.jdx.dev/package.yml

42 lines
1 KiB
YAML
Raw Permalink Normal View History

2024-01-03 02:09:03 +03:00
distributable:
url: https://github.com/jdx/mise/archive/refs/tags/{{version.tag}}.tar.gz
2024-01-03 02:09:03 +03:00
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
2024-01-03 02:09:03 +03:00
build:
dependencies:
rust-lang.org: ^1.78 # stdsimd changes
2024-01-03 02:09:03 +03:00
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