mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
609f367721
closes #5859
29 lines
650 B
YAML
29 lines
650 B
YAML
distributable:
|
|
url: https://github.com/kaspanet/rusty-kaspa/archive/refs/tags/v{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
provides:
|
|
- bin/kaspad
|
|
- bin/kaspa-cli
|
|
|
|
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
|
|
curl.se: '*'
|
|
script:
|
|
# >=0.13.2 requires --features=heap or segfaults
|
|
- cargo install --path kaspad --locked --root {{prefix}} --features=heap
|
|
- cargo install --path cli --locked --root {{prefix}}
|
|
|
|
test:
|
|
- (kaspad --version || true) | grep "{{version}}"
|