+kaspa-miner

This commit is contained in:
Jacob Heider 2023-11-14 14:11:19 -05:00 committed by Max Howell
parent 4db62733d5
commit a741b0db48

View file

@ -0,0 +1,22 @@
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}}