From: Benoit Joly <benoit@benoitj.ca>
To: 47015@debbugs.gnu.org
Cc: Benoit Joly <benoit@benoitj.ca>
Subject: [bug#47015] [PATCH] gnu: Add go-gitlab.com-shackra-goimapnotify
Date: Tue, 9 Mar 2021 00:27:55 -0500 [thread overview]
Message-ID: <20210309052755.15896-1-benoit@benoitj.ca> (raw)
* 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+))))
--
2.30.1
next reply other threads:[~2021-03-09 5:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-09 5:27 Benoit Joly [this message]
2021-03-25 17:23 ` bug#47015: [PATCH] gnu: Add go-gitlab.com-shackra-goimapnotify Christopher Baines
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=20210309052755.15896-1-benoit@benoitj.ca \
--to=benoit@benoitj.ca \
--cc=47015@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).