mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
26 lines
487 B
YAML
26 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}}"
|