mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+pgen: Passphrase generator CLI
This commit is contained in:
parent
61a9c50015
commit
f2b151306b
1 changed files with 22 additions and 0 deletions
22
projects/crates.io/pgen/package.yml
Normal file
22
projects/crates.io/pgen/package.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
distributable:
|
||||
url: https://github.com/ctsrc/Pgen/archive/refs/tags/v{{ version }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
- bin/pgen
|
||||
|
||||
versions:
|
||||
github: ctsrc/Pgen/tags
|
||||
strip: /v/
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: '>=1.65'
|
||||
rust-lang.org/cargo: '*'
|
||||
script:
|
||||
cargo install --path . --root {{prefix}}
|
||||
|
||||
test:
|
||||
script:
|
||||
- test "$(pgen --version)" = "pgen {{version}}"
|
||||
- pgen -l -n 12 -e
|
Loading…
Reference in a new issue