pantry/projects/crates.io/versio/package.yml
Jacob Heider e89da6236b fix(versio)
something up with simd on x86-64. hoping the next rust release is what we need.

closes #5159
2024-02-08 18:09:25 -05:00

35 lines
897 B
YAML

distributable:
url: https://github.com/chaaz/versio/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/versio
versions:
github: chaaz/versio
strip: /v/
dependencies:
openssl.org: ^1.1
gnupg.org/libgpg-error: 1
gnupg.org/gpgme: ^1.13
gnupg.org/libassuan: '*'
zlib.net: ^1
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: '*'
script:
# curve25519-dalek 4.1.2 introduces some odd simd issues on x86-64
- run: sed -i
-e 's/version = "4.1.2"/version = "4.1.1"/'
-e 's/0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348/e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c/'
Cargo.lock
if: 0.8.3
- cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(versio --version)" = "versio {{version}}"