pantry/projects/iroh.computer/package.yml

23 lines
492 B
YAML
Raw Normal View History

2023-04-09 14:53:21 +03:00
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: '*'
2023-10-11 22:41:59 +03:00
rust-lang.org: '^1.70'
2023-04-09 14:53:21 +03:00
script:
2023-09-26 15:47:52 +03:00
- run: cargo install --locked --path . --root {{prefix}}
if: <0.6.0
- run: cargo install --locked --path . --root {{prefix}}
working-directory: iroh
if: '>=0.6.0'
2023-04-09 14:53:21 +03:00
provides:
- bin/iroh
2023-09-26 15:47:52 +03:00
test: iroh --help