diff --git a/projects/crates.io/kaspa-miner/package.yml b/projects/crates.io/kaspa-miner/package.yml new file mode 100644 index 00000000..cf829cca --- /dev/null +++ b/projects/crates.io/kaspa-miner/package.yml @@ -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}} \ No newline at end of file