Subject: bug#43046: closed (Re: [bug#43046] [PATCH] gnu: Add emacs-auth-source-xoauth2.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 27 Aug 2020 13:27:02 +0000

Your bug report

#43046: [PATCH] gnu: Add emacs-auth-source-xoauth2.

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].

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

Subject: Re: [bug#43046] [PATCH] gnu: Add emacs-auth-source-xoauth2.
From: Nicolas Goaziou <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Thu, 27 Aug 2020 15:26:06 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

[email-masked] writes:

> From: Morgan Smith <[email-masked]>
>
> * gnu/packages/emacs-xyz.scm (emacs-auth-source-xoauth2): New
> variable.

Thank you.

I fixed indentation, slightly reworded the description and the synopsis,
and pushed.

Regards, 
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-auth-source-xoauth2.
From: [email-masked]
To: [email-masked]
Cc: Morgan Smith <[email-masked]>
Date: Tue, 25 Aug 2020 13:29:52 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Morgan Smith <[email-masked]>

* gnu/packages/emacs-xyz.scm (emacs-auth-source-xoauth2): 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 62c9203efc..997d655683 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12474,6 +12474,30 @@ needs to be refreshed, the code handles it automatically and stores the new
 value of the access token.")
     (license license:gpl3+)))
 
+(define-public emacs-auth-source-xoauth2
+  (package
+    (name "emacs-auth-source-xoauth2")
+    (version "1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ccrusius/auth-source-xoauth2")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0nl859csl8xcd6ybpjj15ph8l8fxwkwf45kbylss68alkyf1rl3v"))))
+     (build-system emacs-build-system)
+     (home-page "https://github.com/ccrusius/auth-source-xoauth2")
+     (synopsis "Adds @code{XOAuth2} authentication capabilities to Emacs
+@code{auth-source}")
+     (description "Adds @code{XOAuth2} authentication capabilities to Emacs
+@code{auth-source}.  This integration requires some preliminary work on the
+users’ part, which includes creating tokens. For more details, @code{M-x
+describe-variable auth-source-xoauth2-creds}.")
+     (license license:asl2.0)))
+
 (define-public emacs-circe
   (package
     (name "emacs-circe")
-- 
2.28.0