diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2022-01-07 14:53:39 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-19 14:04:38 +0100 |
commit | d8323a6595f5fe8b1927a1675488b1a332218be2 (patch) | |
tree | 918a871046cc1110f2d7baddb9e6206492a62c52 /gnu | |
parent | 1432273f73c73606bdeb32f525bfe42d80bc463c (diff) | |
download | guix-d8323a6595f5fe8b1927a1675488b1a332218be2.tar.gz guix-d8323a6595f5fe8b1927a1675488b1a332218be2.zip |
gnu: Add rust-totp-lite-1.
* gnu/packages/crates-io.scm (rust-totp-lite-1): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5372b0ebdd..45cb6d7c35 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -59120,6 +59120,31 @@ serializing Rust structures.") performance, interoperability, and flexibility.") (license license:expat))) +(define-public rust-totp-lite-1 + (package + (name "rust-totp-lite") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "totp-lite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12ql4pi9q7sf5651588wia2l5h4mil3kv9jrrkib5gvlpvl0k05i")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))) + (home-page "https://github.com/fosskers/totp-lite") + (synopsis "Simple, correct TOTP library") + (description "Rust-totp-lite provides a simple, correct time-based +One-Time Password library.") + (license license:expat))) + (define-public rust-tower-0.4 (package (name "rust-tower") |