neomutt: 20170428 -> 20170602

This commit is contained in:
Peter Hoeg 2017-06-02 21:41:03 +08:00
parent 27aac7afcf
commit 7eadf66244

View File

@ -1,21 +1,29 @@
{ stdenv, fetchFromGitHub, which, autoreconfHook, ncurses, perl { stdenv, fetchFromGitHub, which, autoreconfHook, ncurses, perl
, cyrus_sasl, gdbm, gpgme, kerberos, libidn, notmuch, openssl, lmdb }: , cyrus_sasl, gdbm, gpgme, kerberos, libidn, notmuch, openssl, lmdb, libxslt, docbook_xsl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "20170428"; version = "20170602";
name = "neomutt-${version}"; name = "neomutt-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neomutt"; owner = "neomutt";
repo = "neomutt"; repo = "neomutt";
rev = "neomutt-${version}"; rev = "neomutt-${version}";
sha256 = "1p6214agfv9plskkzalh03r5naiiyg1habrnknnjgck3nypb78ik"; sha256 = "0rpvxmv10ypl7la4nmp0s02ixmm9g5pn9g9ms8ygzsix9pa86w45";
}; };
nativeBuildInputs = [ which autoreconfHook ]; nativeBuildInputs = [ autoreconfHook docbook_xsl libxslt.bin which ];
buildInputs = buildInputs = [
[ cyrus_sasl gdbm gpgme kerberos libidn ncurses cyrus_sasl gdbm gpgme kerberos libidn ncurses
notmuch openssl perl lmdb ]; notmuch openssl perl lmdb
];
postPatch = ''
for f in doc/*.xsl ; do
substituteInPlace $f \
--replace http://docbook.sourceforge.net/release/xsl/current ${docbook_xsl}/share/xml/docbook-xsl
done
'';
configureFlags = [ configureFlags = [
"--enable-debug" "--enable-debug"
@ -46,6 +54,8 @@ stdenv.mkDerivation rec {
configureScript = "./prepare"; configureScript = "./prepare";
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A small but very powerful text-based mail client"; description = "A small but very powerful text-based mail client";
homepage = http://www.neomutt.org; homepage = http://www.neomutt.org;