From d8323a6595f5fe8b1927a1675488b1a332218be2 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 7 Jan 2022 14:53:39 +0100 Subject: gnu: Add rust-totp-lite-1. * gnu/packages/crates-io.scm (rust-totp-lite-1): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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") -- cgit v1.2.3