pantry/projects/crates.io/kaspa-miner/package.yml
2023-11-14 15:23:32 -05:00

22 lines
No EOL
445 B
YAML

distributable:
url: https://github.com/elichai/kaspa-miner/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/kaspa-miner
versions:
github: elichai/kaspa-miner
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
protobuf.dev: 25
script:
cargo install --locked --path . --root {{prefix}}
test:
# FIXME: needs a server :/
kaspa-miner -V | grep {{version}}