unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43046] [PATCH] gnu: Add emacs-auth-source-xoauth2.
@ 2020-08-25 17:29 Morgan.J.Smith
  2020-08-27 13:26 ` bug#43046: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Morgan.J.Smith @ 2020-08-25 17:29 UTC (permalink / raw)
  To: 43046; +Cc: Morgan Smith

From: Morgan Smith <Morgan.J.Smith@outlook.com>

* 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





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

* bug#43046: [PATCH] gnu: Add emacs-auth-source-xoauth2.
  2020-08-25 17:29 [bug#43046] [PATCH] gnu: Add emacs-auth-source-xoauth2 Morgan.J.Smith
@ 2020-08-27 13:26 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-08-27 13:26 UTC (permalink / raw)
  To: Morgan.J.Smith; +Cc: 43046-done

Hello,

Morgan.J.Smith@outlook.com writes:

> From: Morgan Smith <Morgan.J.Smith@outlook.com>
>
> * 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




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

end of thread, other threads:[~2020-08-27 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25 17:29 [bug#43046] [PATCH] gnu: Add emacs-auth-source-xoauth2 Morgan.J.Smith
2020-08-27 13:26 ` bug#43046: " 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).