unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53076] [PATCH 2/41] gnu: rust-rbw: adding rust-totp-lite
@ 2022-01-07 13:53 Nicolas Graves via Guix-patches via
  2022-01-19 13:29 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-01-07 13:53 UTC (permalink / raw)
  To: 53076

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: rust-rbw-dependencies-adding-rust-totp-lite-1 --]
[-- Type: text/x-patch, Size: 1601 bytes --]

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#53076] [PATCH 2/41] gnu: rust-rbw: adding rust-totp-lite
  2022-01-07 13:53 [bug#53076] [PATCH 2/41] gnu: rust-rbw: adding rust-totp-lite Nicolas Graves via Guix-patches via
@ 2022-01-19 13:29 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-01-19 13:29 UTC (permalink / raw)
  To: 53076; +Cc: 53076-done, Nicolas Graves

Hello,

Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:

> 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

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-19 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 13:53 [bug#53076] [PATCH 2/41] gnu: rust-rbw: adding rust-totp-lite Nicolas Graves via Guix-patches via
2022-01-19 13:29 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).