pantry/projects/github.com/kaspanet/rusty-kaspa/package.yml

26 lines
495 B
YAML

distributable:
url: https://github.com/kaspanet/rusty-kaspa/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/kaspad
versions:
github: kaspanet/rusty-kaspa/tags
strip: /v/
dependencies:
linux:
openssl.org: ^1.1
build:
dependencies:
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
protobuf.dev: 25
working-directory: kaspad
script: cargo install --locked --path . --root {{prefix}}
test:
- kaspad --version | grep "{{version}}"