diff options
author | VÖRÖSKŐI András <voroskoi@gmail.com> | 2023-11-11 16:35:33 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:28 +0200 |
commit | 4c39c75e2d8e52baa3cee149438bf4201dcc1e8f (patch) | |
tree | 64950a7912a8a691e1f704fcc91f34f201d503ae | |
parent | a8f0f4a2726dea828711c6e0e32c779ea7de96b1 (diff) |
gnu: Add rust-totp-lite-2.
* gnu/packages/crates-io.scm (rust-totp-lite-2): New variable.
Change-Id: I09b64597bd0bba3da1548410c7b59498f2ef49d3
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0a0c169b21..86399f8b43 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -82651,6 +82651,33 @@ parser.") performance, interoperability, and flexibility.") (license license:expat))) +(define-public rust-totp-lite-2 + (package + (name "rust-totp-lite") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "totp-lite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hvnpv7nl79jp96w6g2j7l6xskl5qlx3h0qqf9zry68pvcs33r7q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-koibumi-base32" ,rust-koibumi-base32-0.0.2) + ("rust-version-sync" ,rust-version-sync-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-totp-lite-1 (package (name "rust-totp-lite") |