Unverified Commit b1ce757d authored by Yt's avatar Yt Committed by GitHub
Browse files

neomutt: 20240425 -> 20241002 (#345991)

parents fdd066e9 c86a47bb
Loading
Loading
Loading
Loading
+21 −21
Original line number Diff line number Diff line
@@ -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,8 +99,7 @@ stdenv.mkDerivation (finalAttrs: {
      --replace /etc/mime.types ${mailcap}/etc/mime.types
  '';

  configureFlags =
    [
  configureFlags = [
    "--enable-autocrypt"
    "--gpgme"
    "--gss"
@@ -110,10 +113,7 @@ stdenv.mkDerivation (finalAttrs: {
    # 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";
  ] ++ lib.optional enableZstd "--zstd" ++ lib.optional enableLua "--lua";

  postInstall =
    ''