From 8de87d4ba1b4f08c6c20d1eb04a1865fd87ffcfb Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Wed, 23 Aug 2023 18:53:46 -0400 Subject: [PATCH] +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 --- projects/crates.io/click/package.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 projects/crates.io/click/package.yml diff --git a/projects/crates.io/click/package.yml b/projects/crates.io/click/package.yml new file mode 100644 index 0000000000..c968d0da8e --- /dev/null +++ b/projects/crates.io/click/package.yml @@ -0,0 +1,25 @@ +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}}"