libmilter: 8.14.8 -> 8.15.2

This commit is contained in:
Franz Pletz 2016-10-21 02:04:38 +02:00 committed by Robin Gloster
parent 8376f5cc3a
commit 655f7043b8
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

@ -1,14 +1,15 @@
{stdenv, fetchurl, m4}: { stdenv, fetchurl, m4 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libmilter-8.14.8"; name = "libmilter-${version}";
version = "8.15.2";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.14.8.tar.gz"; url = "ftp://ftp.sendmail.org/pub/sendmail/sendmail.${version}.tar.gz";
sha256 = "1zmhzkj3gzx8022hsrysr3nzlcmv1qisb5i4jbx91661bw96ksq2"; sha256 = "0fdl9ndmspqspdlmghzxlaqk56j3yajk52d7jxcg21b7sxglpy94";
}; };
buildPhase = '' buildPhase = ''
mkdir -p $out/lib mkdir -p $out/lib
cd libmilter cd libmilter
cat > a.m4 <<EOF cat > a.m4 <<EOF
@ -29,10 +30,12 @@ stdenv.mkDerivation rec {
''; '';
patches = [ ./install.patch ./sharedlib.patch]; patches = [ ./install.patch ./sharedlib.patch];
buildInputs = [m4];
meta = { buildInputs = [ m4 ];
platforms = stdenv.lib.platforms.linux;
meta = with stdenv.lib; {
description = "Sendmail Milter mail filtering API library";
platforms = platforms.unix;
maintainers = with maintainers; [ fpletz ];
}; };
} }