pantry/projects/iroh.computer/package.yml
Jacob Heider 1992dd24ac
fix(iroh)
2023-10-11 15:41:59 -04:00

22 lines
492 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:
- 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