From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:40394) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jK91E-0007E3-18 for guix-patches@gnu.org; Thu, 02 Apr 2020 19:13:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jK91C-0003OE-Pv for guix-patches@gnu.org; Thu, 02 Apr 2020 19:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57612) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jK91C-0003Np-Nc for guix-patches@gnu.org; Thu, 02 Apr 2020 19:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jK91C-0001U9-Hs for guix-patches@gnu.org; Thu, 02 Apr 2020 19:13:02 -0400 Subject: [bug#40394] [PATCH] gnu: Add muchsync. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:38324) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jK8ga-0006Vf-IP for guix-patches@gnu.org; Thu, 02 Apr 2020 18:51:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jK8gV-0000tu-7F for guix-patches@gnu.org; Thu, 02 Apr 2020 18:51:43 -0400 Received: from avior.uberspace.de ([185.26.156.32]:57278) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jK8gU-0008QV-Uz for guix-patches@gnu.org; Thu, 02 Apr 2020 18:51:39 -0400 From: Justus Winter Date: Fri, 3 Apr 2020 00:24:41 +0200 Message-Id: <20200402222441.16772-1-justus@sequoia-pgp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40394@debbugs.gnu.org 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 ;;; Copyright © 2019 Tanguy Le Carrour ;;; Copyright © 2020 Vincent Legoll +;;; Copyright © 2020 Justus Winter ;;; ;;; 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