From 8fd54862105a95a101521e65f713b2f221fadddb Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Sun, 20 Aug 2023 18:13:16 -0400 Subject: [PATCH] +dynein -- DynamoDB CLI (#2974) * +dynein -- DynamoDB CLI * fix(linux): depend on openssl * fix(linux-build): depend on openssl and pkg-config * fix(linux): require openssl as dependency * openssl ^1.1 --------- Co-authored-by: Jacob Heider --- .../github.com/awslabs/dynein/package.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 projects/github.com/awslabs/dynein/package.yml diff --git a/projects/github.com/awslabs/dynein/package.yml b/projects/github.com/awslabs/dynein/package.yml new file mode 100644 index 00000000..1803c15c --- /dev/null +++ b/projects/github.com/awslabs/dynein/package.yml @@ -0,0 +1,28 @@ +distributable: + url: https://github.com/awslabs/dynein/archive/refs/tags/v{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/dy + +versions: + github: awslabs/dynein + strip: /v/ + +dependencies: + linux: + openssl.org: ^1.1 + +build: + dependencies: + rust-lang.org: '>=1.65' + rust-lang.org/cargo: '*' + linux: + openssl.org: '*' + freedesktop.org/pkg-config: '*' + script: + cargo install --locked --path . --root {{prefix}} + +test: + script: + - test "$(dy --version)" = "dynein {{version}}"