pantry/projects/github.com/str4d/age-plugin-yubikey/package.yml
Markus Zoppelt 97ed30fa21
add age-plugin-yubikey (#4111)
* +age-plugin-yubikey

* pcsc-lite is available!

* libpcsc is runtime

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2023-11-20 15:31:52 -05:00

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