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}}"