pantry/projects/iroh.computer/package.yml
Jacob Heider 2177b18420
fix(iroh)
closes #3432
2023-09-26 08:47:52 -04:00

22 lines
465 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: '*'
script:
- 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'
provides:
- bin/iroh
test: iroh --help