From: Christopher Baines <mail@cbaines.net>
To: Benoit Joly <benoit@benoitj.ca>
Cc: 47015-done@debbugs.gnu.org
Subject: bug#47015: [PATCH] gnu: Add go-gitlab.com-shackra-goimapnotify
Date: Thu, 25 Mar 2021 17:23:17 +0000 [thread overview]
Message-ID: <87mtur9mgq.fsf@cbaines.net> (raw)
In-Reply-To: <20210309052755.15896-1-benoit@benoitj.ca>
[-- Attachment #1: Type: text/plain, Size: 3363 bytes --]
Benoit Joly <benoit@benoitj.ca> writes:
> * gnu/packages/mail.scm (go-gitlab.com-shackra-goimapnotify): New
> variable.
> ---
> gnu/packages/mail.scm | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
>
> diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
> index d21c0e204d..5e88c87dd9 100644
> --- a/gnu/packages/mail.scm
> +++ b/gnu/packages/mail.scm
> @@ -41,6 +41,7 @@
> ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
> ;;; Copyright © 2020 divoplade <d@divoplade.fr>
> ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
> +;;; Copyright © 2021 Benoit Joly <benoit@benoitj.ca>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -87,6 +88,7 @@
> #:use-module (gnu packages gettext)
> #:use-module (gnu packages ghostscript)
> #:use-module (gnu packages glib)
> + #:use-module (gnu packages golang)
> #:use-module (gnu packages gnome)
> #:use-module (gnu packages gnupg)
> #:use-module (gnu packages groff)
> @@ -154,6 +156,7 @@
> #:use-module (guix utils)
> #:use-module (guix build-system cmake)
> #:use-module (guix build-system glib-or-gtk)
> + #:use-module (guix build-system go)
> #:use-module (guix build-system gnu)
> #:use-module (guix build-system guile)
> #:use-module (guix build-system perl)
> @@ -4221,3 +4224,33 @@ black lists. Each message is analysed by Rspamd and given a spam
> score.")
> (home-page "https://www.rspamd.com/")
> (license license:asl2.0)))
> +
> +(define-public go-gitlab.com-shackra-goimapnotify
> + (let ((commit "832bc7112db9b28e28d69e90b91ea6c005244c9b")
> + (revision "0"))
> + (package
> + (name "go-gitlab.com-shackra-goimapnotify")
> + (version (git-version "0.0.0" revision commit))
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://gitlab.com/shackra/goimapnotify")
> + (commit commit)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "1h27kshx4vwl5k6vc2szsq3d701fzs4gczjypz907f8hj0lrnjmy"))))
> + (build-system go-build-system)
> + (arguments
> + `(#:import-path "gitlab.com/shackra/goimapnotify"))
> + (propagated-inputs
> + `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
> + ("go-github-com-emersion-go-imap-idle" ,go-github-com-emersion-go-imap-idle)
> + ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
> + ("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)
> + ("go-golang-org-x-text" ,go-golang-org-x-text)))
> + (synopsis "Execute scripts on IMAP mailbox changes.")
> + (description
> + "Execute scripts on IMAP mailbox changes (new/deleted/updated messages) using IDLE, golang version.")
> + (home-page "https://gitlab.com/shackra/goimapnotify")
> + (license license:gpl3+))))
Hi Benoit,
I've pushed this to the master branch as
af3bf6b481b1cd134c02fecc9dc221bd045e65f8.
I made a few small changes, I moved the definition up in the file, to
avoid merge conflicts at the bottom. I also solved a lint warning about
a long line.
Thanks,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
prev parent reply other threads:[~2021-03-25 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-09 5:27 [bug#47015] [PATCH] gnu: Add go-gitlab.com-shackra-goimapnotify Benoit Joly
2021-03-25 17:23 ` Christopher Baines [this message]
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=87mtur9mgq.fsf@cbaines.net \
--to=mail@cbaines.net \
--cc=47015-done@debbugs.gnu.org \
--cc=benoit@benoitj.ca \
/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).