about summary refs log tree commit diff
path: root/pkgs/tools/networking/mailutils
diff options
context:
space:
mode:
authorBen Wolsieffer2020-11-14 15:55:16 -0500
committerFrederik Rietdijk2020-11-19 21:51:25 +0100
commita4c39a624c9658beb96c95fa7947aed988ed7c59 (patch)
treefce6b5d0b320baa929c794e90cb6e1f23ead4f1f /pkgs/tools/networking/mailutils
parent82a9f2331cc5e900100d17db48bdca033df392c2 (diff)
mailutils: 3.9 -> 3.10
Diffstat (limited to 'pkgs/tools/networking/mailutils')
-rw-r--r--pkgs/tools/networking/mailutils/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/tools/networking/mailutils/default.nix b/pkgs/tools/networking/mailutils/default.nix
index adcd2f1dc131..bc0abf53f517 100644
--- a/pkgs/tools/networking/mailutils/default.nix
+++ b/pkgs/tools/networking/mailutils/default.nix
@@ -3,13 +3,12 @@
 , python3, gss, libmysqlclient, system-sendmail }:
 
 stdenv.mkDerivation rec {
-  name = "${project}-${version}";
-  project = "mailutils";
-  version = "3.9";
+  pname = "mailutils";
+  version = "3.10";
 
   src = fetchurl {
-    url = "mirror://gnu/${project}/${name}.tar.xz";
-    sha256 = "1g1xf2lal04nsnf1iym9n9n0wxjpqbcr9nysxpm98v4pniinqwsz";
+    url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
+    sha256 = "17smrxjdgbbzbzakik30vj46q4iib85ksqhb82jr4vjp57akszh9";
   };
 
   postPatch = ''
@@ -32,6 +31,12 @@ stdenv.mkDerivation rec {
   patches = [
     ./fix-build-mb-len-max.patch
     ./path-to-cat.patch
+    # mailquota.c:277: undefined reference to `get_size'
+    # https://lists.gnu.org/archive/html/bug-mailutils/2020-08/msg00002.html
+    (fetchpatch {
+      url = "http://git.savannah.gnu.org/cgit/mailutils.git/patch/?id=37713b42a501892469234b90454731d8d8b7a3e6";
+      sha256 = "1mwj77nxvf4xvqf26yjs59jyksnizj0lmbymbzg4kmqynzq3zjny";
+    })
   ];
 
   enableParallelBuilding = false;