pantry/projects/github.com/kaspanet/rusty-kaspa/package.yml
Jacob Heider 5e07079cc2 fix(rusty-kaspa)
segfaults in new malloc crate; add cli

closes #4766
closes #4768
2024-01-08 12:25:22 -05:00

29 lines
632 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 --root {{prefix}} --features=heap
- cargo install --path cli --root {{prefix}}
test:
- (kaspad --version || true) | grep "{{version}}"