diff --git a/projects/crates.io/vivid/package.yml b/projects/crates.io/vivid/package.yml new file mode 100644 index 00000000..101c8dbf --- /dev/null +++ b/projects/crates.io/vivid/package.yml @@ -0,0 +1,23 @@ +distributable: + url: https://github.com/sharkdp/vivid/archive/refs/tags/v{{version}}.tar.gz + strip-components: 1 + +provides: + - bin/vivid + +versions: + github: sharkdp/vivid/tags + strip: /v/ + +dependencies: + zlib.net: ^1 + +build: + dependencies: + rust-lang.org: '>=1.60' + rust-lang.org/cargo: '*' + script: + cargo install --locked --path . --root {{prefix}} + +test: + vivid --version