all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add neomutt.
Date: Tue, 26 Jul 2016 17:12:31 +0000	[thread overview]
Message-ID: <20160726171231.GA29524@shadowwalker> (raw)
In-Reply-To: <87mvl45sqq.fsf@we.make.ritual.n0.is>

[-- Attachment #1: Type: text/plain, Size: 3839 bytes --]

It's not functional yet, but this reflects my work in progress.

From 4bf9dd1e37bfba583fcf2d9a1c749c535eedf612 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
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 <ng0@we.make.ritual.n0.is>
---
 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 © 2016 Lukas Gradl <lgradl@openmailbox.org>
 ;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
 ;;; Copyright © 2016 Troy Sankey <sankeytms@gmail.com>
+;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;;
 ;;; 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 normal 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=/var/mail"
+
+             "--with-external-dotlock"
+             "--enable-nntp"
+             "--enable-compressed"
+
+             (string-append "--with-curses="
+                            (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


--
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2016-07-26 17:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 16:04 WIP: neomutt. segfaulting outside of gdb, functional inside ng0
2016-06-27  7:58 ` Ricardo Wurmus
2016-06-29  9:54   ` Florian Paul Schmidt
2016-07-26 15:17   ` [PATCH] gnu: Add neomutt ng0
2016-07-26 15:22     ` ng0
2016-07-26 17:12       ` ng0 [this message]
2016-07-26 18:47 ` WIP: neomutt. segfaulting outside of gdb, functional inside Tomáš Čech
2016-07-29 14:56   ` ng0
2016-07-31 10:52     ` Danny Milosavljevic
2016-08-03 10:30 ` Tomáš Čech
2016-08-03 12:27   ` ng0
2016-08-03 13:10     ` Tomáš Čech
  -- strict thread matches above, loose matches on Subject: below --
2017-01-19  3:23 Add: Neomutt contact.ng0
2017-01-19  3:23 ` [PATCH] gnu: Add neomutt contact.ng0
2017-02-01 22:23   ` Ludovic Courtès

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160726171231.GA29524@shadowwalker \
    --to=ng0@we.make.ritual.n0.is \
    --cc=guix-devel@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 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.