neomutt: 20240425 -> 20241002 (#345991)

This commit is contained in:
Yt 2024-10-05 14:09:29 -04:00 committed by GitHub
commit b1ce757d3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,15 +35,19 @@
withContrib ? true,
}:
assert lib.warnIf (
enableMixmaster
) "Support for mixmaster has been removed from neomutt since the 20241002 release" true;
stdenv.mkDerivation (finalAttrs: {
pname = "neomutt";
version = "20240425";
version = "20241002";
src = fetchFromGitHub {
owner = "neomutt";
repo = "neomutt";
rev = finalAttrs.version;
hash = "sha256-QBqPFteoAm3AdQN0XTWpho8DEW2BFCCzBcHUZIiSxyQ=";
hash = "sha256-c8G0CGg4jrwq+HVR4O0AtaJNzr7pDYsie1410tisLEY=";
};
buildInputs = [
@ -95,25 +99,21 @@ stdenv.mkDerivation (finalAttrs: {
--replace /etc/mime.types ${mailcap}/etc/mime.types
'';
configureFlags =
[
"--enable-autocrypt"
"--gpgme"
"--gss"
"--lmdb"
"--notmuch"
"--ssl"
"--sasl"
"--with-homespool=mailbox"
"--with-mailpath="
# To make it not reference .dev outputs. See:
# https://github.com/neomutt/neomutt/pull/2367
"--disable-include-path-in-cflags"
"--zlib"
]
++ lib.optional enableZstd "--zstd"
++ lib.optional enableLua "--lua"
++ lib.optional enableMixmaster "--mixmaster";
configureFlags = [
"--enable-autocrypt"
"--gpgme"
"--gss"
"--lmdb"
"--notmuch"
"--ssl"
"--sasl"
"--with-homespool=mailbox"
"--with-mailpath="
# To make it not reference .dev outputs. See:
# https://github.com/neomutt/neomutt/pull/2367
"--disable-include-path-in-cflags"
"--zlib"
] ++ lib.optional enableZstd "--zstd" ++ lib.optional enableLua "--lua";
postInstall =
''