all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#40394] [PATCH] gnu: Add muchsync.
@ 2020-04-02 22:24 Justus Winter
  2020-04-03  8:06 ` Justus Winter
  0 siblings, 1 reply; 3+ messages in thread
From: Justus Winter @ 2020-04-02 22:24 UTC (permalink / raw)
  To: 40394; +Cc: Justus Winter

* gnu/packages/mail.scm (muchsync): New variable.
---
 gnu/packages/mail.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index ed14360066..061dc237f3 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -30,6 +30,7 @@
 ;;; Copyright © 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
+;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -82,6 +83,7 @@
   #:use-module (gnu packages guile)
   #:use-module (gnu packages guile-xyz)
   #:use-module (gnu packages flex)
+  #:use-module (gnu packages haskell-xyz)
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages libevent)
@@ -1074,6 +1076,38 @@ and search library.")
 (define-public python2-notmuch
   (package-with-python2 python-notmuch))
 
+(define-public muchsync
+  (package
+    (name "muchsync")
+    (version "5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.muchsync.org/src/muchsync-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1k2m44pj5i6vfhp9icdqs42chsp208llanc666p3d9nww8ngq2lb"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("ghc-pandoc" ,ghc-pandoc)))
+    (inputs
+     `(("notmuch" ,notmuch)
+       ("sqlite" ,sqlite)
+       ("xapian" ,xapian)
+       ("libcrypto" ,openssl)))
+    (home-page "https://www.muchsync.org/")
+    (synopsis "Synchronize notmuch mail across machines")
+    (description
+     "Muchsync brings notmuch to all of your computers by synchronizing your
+mail messages and notmuch tags across machines.  The protocol is heavily
+pipelined to work efficiently over high-latency networks such as mobile
+broadband.  Muchsync supports arbitrary pairwise synchronization among
+replicas.  A version-vector-based algorithm allows it to exchange only the
+minimum information necessary to bring replicas up to date regardless of which
+pairs have previously synchronized.")
+    (license gpl2+)))
+
 (define-public getmail
   (package
     (name "getmail")
-- 
2.26.0

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

* [bug#40394] [PATCH] gnu: Add muchsync.
  2020-04-02 22:24 [bug#40394] [PATCH] gnu: Add muchsync Justus Winter
@ 2020-04-03  8:06 ` Justus Winter
  2020-04-03  8:58   ` bug#40394: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Justus Winter @ 2020-04-03  8:06 UTC (permalink / raw)
  To: 40394; +Cc: Justus Winter

* gnu/packages/mail.scm (muchsync): New variable.
---
 gnu/packages/mail.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index ed14360066..ca10c68586 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -30,6 +30,7 @@
 ;;; Copyright © 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
+;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -82,6 +83,7 @@
   #:use-module (gnu packages guile)
   #:use-module (gnu packages guile-xyz)
   #:use-module (gnu packages flex)
+  #:use-module (gnu packages haskell-xyz)
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages libevent)
@@ -1074,6 +1076,38 @@ and search library.")
 (define-public python2-notmuch
   (package-with-python2 python-notmuch))
 
+(define-public muchsync
+  (package
+    (name "muchsync")
+    (version "5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.muchsync.org/src/muchsync-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1k2m44pj5i6vfhp9icdqs42chsp208llanc666p3d9nww8ngq2lb"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("ghc-pandoc" ,ghc-pandoc)))
+    (inputs
+     `(("notmuch" ,notmuch)
+       ("sqlite" ,sqlite)
+       ("xapian" ,xapian)
+       ("libcrypto" ,openssl)))
+    (home-page "http://www.muchsync.org/")
+    (synopsis "Synchronize notmuch mail across machines")
+    (description
+     "Muchsync brings notmuch to all of your computers by synchronizing your
+mail messages and notmuch tags across machines.  The protocol is heavily
+pipelined to work efficiently over high-latency networks such as mobile
+broadband.  Muchsync supports arbitrary pairwise synchronization among
+replicas.  A version-vector-based algorithm allows it to exchange only the
+minimum information necessary to bring replicas up to date regardless of which
+pairs have previously synchronized.")
+    (license gpl2+)))
+
 (define-public getmail
   (package
     (name "getmail")
-- 
2.26.0

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

* bug#40394: [PATCH] gnu: Add muchsync.
  2020-04-03  8:06 ` Justus Winter
@ 2020-04-03  8:58   ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2020-04-03  8:58 UTC (permalink / raw)
  To: Justus Winter; +Cc: 40394-done

Hello,

Justus Winter <justus@sequoia-pgp.org> writes:

> * gnu/packages/mail.scm (muchsync): New variable.

I reordered alphabetically the inputs, and applied your patch as
9ec27360af620fcbab8139e4d8963cccddda2b55.

Thank you!

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2020-04-03  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-02 22:24 [bug#40394] [PATCH] gnu: Add muchsync Justus Winter
2020-04-03  8:06 ` Justus Winter
2020-04-03  8:58   ` bug#40394: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.