mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
4728691e7f
* fix(iroh) closes #5702 * simd fix
28 lines
867 B
YAML
28 lines
867 B
YAML
distributable:
|
|
url: https://github.com/n0-computer/iroh/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: n0-computer/iroh/releases/tags
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org/cargo: '*'
|
|
rust-lang.org: '^1.70'
|
|
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
|
|
- run: cargo install --path . --locked --root {{prefix}}
|
|
if: <0.6.0
|
|
- run: cargo install --path iroh --locked --root {{prefix}}
|
|
if: '>=0.6.0<0.13.0'
|
|
- run: cargo install --path iroh-cli --locked --root {{prefix}}
|
|
if: '>=0.13.0'
|
|
|
|
provides:
|
|
- bin/iroh
|
|
|
|
test: iroh --help
|