pantry/projects/apollographql.com/rover/package.yml

27 lines
503 B
YAML
Raw Normal View History

distributable:
url: https://github.com/apollographql/rover/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/rover
dependencies:
openssl.org: ^1.1
zlib.net: ^1
versions:
github: apollographql/rover
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: ^0
script:
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(rover --version)" = "Rover {{version}}"