2023-11-15 07:00:00 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/kaspanet/rusty-kaspa/archive/refs/tags/v{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/kaspad
|
2024-01-08 19:57:44 +03:00
|
|
|
- bin/kaspa-cli
|
2023-11-15 07:00:00 +03:00
|
|
|
|
|
|
|
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
|
2024-01-08 19:57:44 +03:00
|
|
|
curl.se: '*'
|
|
|
|
script:
|
|
|
|
# >=0.13.2 requires --features=heap or segfaults
|
2024-04-10 22:58:26 +03:00
|
|
|
- cargo install --path kaspad --locked --root {{prefix}} --features=heap
|
|
|
|
- cargo install --path cli --locked --root {{prefix}}
|
2023-11-15 07:00:00 +03:00
|
|
|
|
|
|
|
test:
|
2024-01-08 19:57:44 +03:00
|
|
|
- (kaspad --version || true) | grep "{{version}}"
|