guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53076] [PATCH 2/41] gnu: rust-rbw: adding rust-totp-lite


From: Nicolas Graves
Subject: [bug#53076] [PATCH 2/41] gnu: rust-rbw: adding rust-totp-lite
Date: Fri, 07 Jan 2022 14:53:39 +0100
User-agent: mu4e 1.6.10; emacs 28.0.50

>From 8e74886c7c300512e95c8ec353293b986c24fef7 Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves@ngraves.fr>
Date: Thu, 6 Jan 2022 23:28:41 +0100
Subject: [PATCH 03/42] rust-rbw dependencies : adding rust-totp-lite-1

---
 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 43c8456b32..0752891f35 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58812,6 +58812,31 @@ (define-public rust-tonic-0.6
 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 "provides a 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")
-- 
2.34.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]