mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
27 lines
591 B
YAML
27 lines
591 B
YAML
|
distributable:
|
||
|
url: https://github.com/str4d/age-plugin-yubikey/archive/refs/tags/v{{ version }}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: str4d/age-plugin-yubikey
|
||
|
|
||
|
dependencies:
|
||
|
linux:
|
||
|
pcsclite.apdu.fr: ^2
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
rust-lang.org: '>=1.65'
|
||
|
rust-lang.org/cargo: '*'
|
||
|
script: |
|
||
|
# don't use --locked to prevent
|
||
|
# error[E0635]: unknown feature `proc_macro_span_shrink`
|
||
|
cargo install --path . --root {{prefix}}
|
||
|
|
||
|
provides:
|
||
|
- bin/age-plugin-yubikey
|
||
|
|
||
|
test:
|
||
|
script:
|
||
|
test "$(age-plugin-yubikey --version)" = "age-plugin-yubikey {{version}}"
|