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>master
parent
a8f0f4a272
commit
4c39c75e2d
|
@ -82651,6 +82651,33 @@ parser.")
|
||||||
performance, interoperability, and flexibility.")
|
performance, interoperability, and flexibility.")
|
||||||
(license license:expat)))
|
(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
|
(define-public rust-totp-lite-1
|
||||||
(package
|
(package
|
||||||
(name "rust-totp-lite")
|
(name "rust-totp-lite")
|
||||||
|
|
Reference in New Issue