pantry/projects/crates.io/click/package.yml
Kevin Chen 8de87d4ba1
+click -- Command Line Interactive Controller for Kubernetes (#3053)
* +click -- Command Line Interactive Controller for Kubernetes

* openssl dep

* pkg-config

* typo

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-08-23 18:53:46 -04:00

25 lines
487 B
YAML

distributable:
url: https://github.com/databricks/click/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/click
versions:
github: databricks/click
strip: /v/
dependencies:
openssl.org: ^1.1
build:
dependencies:
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: ^0.29
script: |
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(click --version)" = "Click {{version}}"