2016-05-14 18:03:47 +01:00
|
|
|
{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
|
|
|
|
|
2017-03-18 01:02:23 +00:00
|
|
|
with stdenv.lib;
|
|
|
|
|
2016-05-14 18:03:47 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2017-03-18 01:02:23 +00:00
|
|
|
version = "1.2.6";
|
2016-05-14 18:03:47 +01:00
|
|
|
name = "mpop-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/mpop/${name}.tar.xz";
|
2017-03-18 01:02:23 +00:00
|
|
|
sha256 = "0p1ix63jh64dibrlccch8q7gxl9nn18wd2qpyr5z1h4gs2fpmv4z";
|
2016-05-14 18:03:47 +01:00
|
|
|
};
|
|
|
|
|
2017-03-18 01:02:23 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ openssl gnutls gsasl libidn ]
|
|
|
|
++ optional stdenv.isDarwin Security;
|
2016-05-14 18:03:47 +01:00
|
|
|
|
|
|
|
configureFlags =
|
2017-03-18 01:02:23 +00:00
|
|
|
optional stdenv.isDarwin [ "--with-macosx-keyring" ];
|
2016-05-14 18:03:47 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "POP3 mail retrieval agent";
|
2017-03-18 01:02:23 +00:00
|
|
|
homepage = http://mpop.sourceforge.net/;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
2016-05-14 18:03:47 +01:00
|
|
|
};
|
|
|
|
}
|