mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
39 lines
1 KiB
YAML
39 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
|
|
# 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 RTX 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
|