pantry/projects/crates.io/kaspa-miner/package.yml

22 lines
445 B
YAML
Raw Normal View History

2023-11-14 22:11:19 +03:00
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}}