From: peter@polidoro.io
To: 59019@debbugs.gnu.org
Cc: Peter Polidoro <peter@polidoro.io>
Subject: [bug#59019] [PATCH 1/1] gnu: Add cyrus-sasl-xoauth2.
Date: Fri, 4 Nov 2022 13:56:05 -0400 [thread overview]
Message-ID: <95c44daa0deb5d5104a40c97c15b38299ec34c01.1667583886.git.peter@polidoro.io> (raw)
In-Reply-To: <cover.1667583886.git.peter@polidoro.io>
From: Peter Polidoro <peter@polidoro.io>
* gnu/packages/cyrus-sasl.scm (cyrus-sasl-xoauth2): New variable.
---
gnu/packages/cyrus-sasl.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm
index 2cd18f3e5e..ddb8c476ac 100644
--- a/gnu/packages/cyrus-sasl.scm
+++ b/gnu/packages/cyrus-sasl.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
+;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,6 +29,7 @@ (define-module (gnu packages cyrus-sasl)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu))
(define-public cyrus-sasl
@@ -78,3 +80,33 @@ (define-public cyrus-sasl
(license (license:non-copyleft "file://COPYING"
"See COPYING in the distribution."))
(home-page "https://cyrusimap.org/sasl/")))
+
+(define-public cyrus-sasl-xoauth2
+ (package
+ (name "cyrus-sasl-xoauth2")
+ (version "0.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/moriyoshi/cyrus-sasl-xoauth2")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1py9f1mn5k5xihrk0lfrwr6723c22gjb7lmgya83ibvislm2x3wl"))))
+ (build-system gnu-build-system)
+ (arguments
+ ;; Not sure what is required here in order to get this installed into the
+ ;; correct location. Maybe it needs to be installed in the plugindir for
+ ;; the cyrus-sasl package above? Not sure how to reference that directory
+ ;; in this package though.
+ '(#:configure-flags (list (string-append "--prefix="
+ (assoc-ref %outputs "out")
+ "/lib/sasl2"))))
+ (native-inputs (list autoconf automake libtool))
+ (inputs (list cyrus-sasl))
+ (home-page "https://github.com/moriyoshi/cyrus-sasl-xoauth2")
+ (synopsis "XOAUTH2 mechanism plugin for cyrus-sasl")
+ (description "XOAUTH2 mechanism plugin for cyrus-sasl.")
+ (license (list license:expat license:expat))))
+
--
2.38.0
next prev parent reply other threads:[~2022-11-04 17:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 17:56 [bug#59018] [PATCH 0/1] OAuth2 for mbsync peter
2022-11-04 17:56 ` peter [this message]
2022-11-06 21:12 ` [bug#59018] (no subject) dan
2022-11-06 21:18 ` ( via Guix-patches via
2022-11-07 1:32 ` dan
2022-11-15 10:49 ` [bug#59018] [PATCH 0/1] OAuth2 for mbsync Ludovic Courtès
2022-11-15 14:55 ` Peter Polidoro
2022-11-17 17:27 ` Ludovic Courtès
2022-11-18 15:50 ` Peter Polidoro
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=95c44daa0deb5d5104a40c97c15b38299ec34c01.1667583886.git.peter@polidoro.io \
--to=peter@polidoro.io \
--cc=59019@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).