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>
This commit is contained in:
VÖRÖSKŐI András 2023-11-11 16:35:33 +01:00 committed by Efraim Flashner
parent a8f0f4a272
commit 4c39c75e2d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -82651,6 +82651,33 @@ (define-public rust-tonic-0.6
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")