Subject: bug#62744: closed (Re: [bug#62744] [PATCH] gnu: Add emacs-totp.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 16 Apr 2023 13:55:05 +0000

Your bug report

#62744: [PATCH] gnu: Add emacs-totp.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
62744: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62744
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#62744] [PATCH] gnu: Add emacs-totp.
From: Nicolas Goaziou <[email-masked]>
To: Antero Mejr via Guix-patches via <[email-masked]>
Cc: [email-masked], Antero Mejr <[email-masked]>, [email-masked]
Date: Sun, 16 Apr 2023 15:54:51 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Antero Mejr via Guix-patches via <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-totp): New variable.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-totp.
From: Antero Mejr <[email-masked]>
To: [email-masked]
Date: Mon, 10 Apr 2023 00:48:07 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-totp): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ec2078f44c..6e7dd5cdc3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -36663,6 +36663,30 @@ (define-public emacs-tintin-mode
 accomplish different tasks.")
       (license license:asl2.0))))
 
+(define-public emacs-totp
+  (let ((commit "a5e059b8475b32bc7f5ddadda248cf84449ed722") ;no releases
+        (revision "0"))
+    (package
+      (name "emacs-totp")
+      (home-page "https://github.com/juergenhoetzel/emacs-totp")
+      (version (git-version "0.1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url home-page)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0b76fxk9r3n9zii75q1957ivb6ap5px5h87kagxz083nl77jky7a"))))
+      (build-system emacs-build-system)
+      (synopsis "Generate Time-based One-time Passwords (TOTP) in Emacs")
+      (description
+       "emacs-TOTP implements @acronym{TOTP, Time-based One-time Passwords} as
+specified in RFC 6238.  It supports reading secrets in HEX and multiple base32
+variations, including non-standard base32 encodings.")
+       (license license:gpl3+))))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar
-- 
2.38.1