From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add neomutt. Date: Tue, 26 Jul 2016 17:12:31 +0000 Message-ID: <20160726171231.GA29524@shadowwalker> References: <20160624155618.GA18611@shadowwalker> <877fc88m4j.fsf_-_@we.make.ritual.n0.is> <87mvl45sqq.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS5uK-0006do-Sc for guix-devel@gnu.org; Tue, 26 Jul 2016 13:12:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS5uI-0005td-DF for guix-devel@gnu.org; Tue, 26 Jul 2016 13:12:39 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:39989 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS5uI-0005sK-2M for guix-devel@gnu.org; Tue, 26 Jul 2016 13:12:38 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id 5be16789 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Tue, 26 Jul 2016 17:12:35 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87mvl45sqq.fsf@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable It's not functional yet, but this reflects my work in progress. =46rom 4bf9dd1e37bfba583fcf2d9a1c749c535eedf612 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Tue, 26 Jul 2016 14:15:55 +0000 Subject: [PATCH] gnu: Add neomutt. * gnu/packages/mail.scm (neomutt): New variable. Signed-off-by: ng0 --- gnu/packages/mail.scm | 72 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 72 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 9214b73..b54127d 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -15,6 +15,7 @@ ;;; Copyright =C2=A9 2016 Lukas Gradl ;;; Copyright =C2=A9 2016 Alex Kost ;;; Copyright =C2=A9 2016 Troy Sankey +;;; Copyright =C2=A9 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -72,6 +73,7 @@ #:use-module (gnu packages tls) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) + #:use-module (gnu packages docbook) #:use-module ((guix licenses) #:select (gpl2 gpl2+ gpl3 gpl3+ lgpl2.1 lgpl2.1+ lgpl3+ non-copyleft (expat . license:expat))) @@ -214,6 +216,76 @@ aliasing facilities to work just as they would on norm= al mail.") operating systems.") (license gpl2+))) +(define-public neomutt + (package + (inherit mutt) + (name "neomutt") + (version "20160723") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/" name "/" name + "/archive/" name "-" version ".tar.gz")) + (sha256 + (base32 + "038f7g3hwbb9cxmxq69gx01cw6ayxscbgsqblksrfsqf7fggxvnh")))) + (inputs + `(("cyrus-sasl" ,cyrus-sasl) + ("gdbm" ,gdbm) + ("gpgme" ,gpgme) + ("ncurses" ,ncurses) ; ncurses or slang + ("gnutls" ,gnutls) + ("openssl" ,openssl) ; smime + ("perl" ,perl) + ("libxslt" ,libxslt) + ("libidn" ,libidn) + ("libxml2" ,libxml2) + ("docbook-xsl" ,docbook-xsl))) + ;;("notmuch" ,notmuch))) ; enable once gmime is fixed + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (arguments + `(#:configure-flags + (list "--enable-smtp" + "--enable-imap" + "--enable-pop" + "--enable-gpgme" + + ;; header caching and a database + "--without-tokyocabinet" + "--without-qdbm" + "--without-bdb" + "--without-lmdb" + "--with-gdbm" + "--enable-hcache" ; for header caching + + "--with-gnutls" + "--without-ssl" + "--with-sasl" + + "--with-regex" + "--enable-smime" + ;;"--enable-notmuch" ; enable once gmime is fixed + "--with-idn" + + ;; so that mutt does not check whether the path + ;; exists, which it does not in the chroot + "--with-mailpath=3D/var/mail" + + "--with-external-dotlock" + "--enable-nntp" + "--enable-compressed" + + (string-append "--with-curses=3D" + (assoc-ref %build-inputs "ncurses"))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda _ + (zero? (system* "sh" "autoreconf" "-vfi"))))))))) + (define-public gmime (package (name "gmime") -- 2.9.1 -- =E2=99=A5=E2=92=B6 ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXl5n/AAoJEAKilhUMIBgjhY4P/1FgdMJSLHczPiU/Ywe4o7hX kFH9J89HI7pTnkCVRTP1ntuE8ZsaIFbwiCJIGYfzKwO73A9670CBMv7iVi+RojpR Ohi5PoOJNkhugho1DLzH8zOyQ/knnCYS5zbdqsM0HWF6kQs+/7zaegOT7t+tM38J 9uvgshk7Oy+AbZShFxwuwHv0ogXExPRRgtoyQ6qokBmh/33sJXTdwKsDuWjX925V TTKK774FblzMf35CMuLJgxaz0J81Sv6RJ65azoYRKfIIVDXzRDicTRrnFNxdC5z4 hY0+1WEoHP6R33cSN9xfIYamL8YwoP1W+XIcovRVcGGPdWrfVsrrQ+c3sdqIy48n IxlLRy5jyrswfRzRTbBw5ayeJOk8+XnTLYRhwOwraCQHTkdfP0ounOFhdQNmLXV9 iqwtEWsVrocVPIBqFywi4tIlJnqH9Ok9pckOuIjcduWSS+XvnPQIdQCg2Jcl2fSh w6pTf2tqbMZa+XnxO4dotuVFzlAgH4sqqLnxVsoK5rbK8ylOkb5IrHIVCIWTak0p axECgNfEzZAq6Mydav/0p+h6MjFHiXTwnZCmGr9BI68OwWvtUsXFmuG+R7BRRKyb 9n/bu410Io2aaE0T+Syup5GPxXnS1fx8LKmyUrkDdkmMg5g9isrtJ0S8pQZ3hT3O 1IozSzDfEy0w8ZZEuYng =gyLB -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--