From: Ricardo Wurmus <rekado@elephly.net>
To: 30194@debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@elephly.net>
Subject: [bug#30194] [PATCH 4/6] gnu: Add emacs-oauth2.
Date: Sun, 21 Jan 2018 18:25:37 +0100 [thread overview]
Message-ID: <20180121172539.19408-4-rekado@elephly.net> (raw)
In-Reply-To: <20180121172539.19408-1-rekado@elephly.net>
* gnu/packages/emacs.scm (emacs-oauth2): New variable.
---
gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 82bdacbb7..7e593e1f9 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -6533,6 +6533,31 @@ writers, to write applications that use WebSockets, and is not useful by
itself.")
(license license:gpl3+)))
+(define-public emacs-oauth2
+ (package
+ (name "emacs-oauth2")
+ (version "0.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://elpa.gnu.org/packages/oauth2-"
+ version ".el"))
+ (sha256
+ (base32
+ "0ydkc9jazsnbbvfhd47mql52y7k06n3z7r0naqxkwb99j9blqsmp"))))
+ (build-system emacs-build-system)
+ (home-page "http://elpa.gnu.org/packages/oauth2.html")
+ (synopsis "OAuth 2.0 authorization protocol implementation")
+ (description
+ "This package provides an Elisp implementation of the OAuth 2.0 draft.
+The main entry point is @code{oauth2-auth-and-store} which will return a token
+structure. This token structure can be then used with
+@code{oauth2-url-retrieve-synchronously} or @code{oauth2-url-retrieve} to
+retrieve any data that need OAuth authentication to be accessed. If the token
+needs to be refreshed, the code handles it automatically and stores the new
+value of the access token.")
+ (license license:gpl3+)))
+
(define-public emacs-bash-completion
(package
(name "emacs-bash-completion")
--
2.15.0
next prev parent reply other threads:[~2018-01-21 17:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-21 17:14 [bug#30194] [PATCH 0/6] Emacs client for Slack Ricardo Wurmus
2018-01-21 17:25 ` [bug#30194] [PATCH 1/6] gnu: Add emacs-seq Ricardo Wurmus
2018-01-21 17:25 ` [bug#30194] [PATCH 2/6] gnu: Add emacs-emojify Ricardo Wurmus
2018-01-21 17:25 ` [bug#30194] [PATCH 3/6] gnu: Add emacs-websocket Ricardo Wurmus
2018-01-21 17:25 ` Ricardo Wurmus [this message]
2018-01-21 17:25 ` [bug#30194] [PATCH 5/6] gnu: Add emacs-circe Ricardo Wurmus
2018-01-21 17:25 ` [bug#30194] [PATCH 6/6] gnu: Add emacs-slack Ricardo Wurmus
2018-01-21 18:12 ` [bug#30194] [PATCH 1/6] gnu: Add emacs-seq Nicolas Goaziou
2018-01-24 12:16 ` bug#30194: " Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180121172539.19408-4-rekado@elephly.net \
--to=rekado@elephly.net \
--cc=30194@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).