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