pantry/projects/iroh.computer/package.yml

24 lines
566 B
YAML
Raw Permalink Normal View History

2023-04-09 14:53:21 +03:00
distributable:
url: https://github.com/n0-computer/iroh/archive/refs/tags/{{version.tag}}.tar.gz
2023-04-09 14:53:21 +03:00
strip-components: 1
versions:
github: n0-computer/iroh
2023-04-09 14:53:21 +03:00
build:
dependencies:
rust-lang.org/cargo: '*'
rust-lang.org: ^1.78 # stdsimd changes
2023-04-09 14:53:21 +03:00
script:
- run: cargo install --path . --locked --root {{prefix}}
2023-09-26 15:47:52 +03:00
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'
2023-04-09 14:53:21 +03:00
provides:
- bin/iroh
2023-09-26 15:47:52 +03:00
test: iroh --help