Jacob Heider 2023-11-14 23:00:00 -05:00 committed by Jacob Heider
parent 4b85e66fea
commit 783ad9fa2e

View file

@ -0,0 +1,25 @@
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}}"