diff --git a/projects/crates.io/diskonaut/package.yml b/projects/crates.io/diskonaut/package.yml new file mode 100644 index 00000000..81ce9556 --- /dev/null +++ b/projects/crates.io/diskonaut/package.yml @@ -0,0 +1,17 @@ +distributable: + url: https://github.com/imsnif/diskonaut/archive/refs/tags/{{version}}.tar.gz + strip-components: 1 + +versions: + github: imsnif/diskonaut + +build: + dependencies: + rust-lang.org: ^1.65 + rust-lang.org/cargo: '*' + script: cargo install --path . --root {{prefix}} + +provides: + - bin/diskonaut + +test: test "$(diskonaut --version)" = "diskonaut {{version}}"