2016-05-14 10:03:47 -07:00
|
|
|
{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
|
|
|
|
|
2017-03-17 18:02:23 -07:00
|
|
|
with stdenv.lib;
|
|
|
|
|
2016-05-14 10:03:47 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-02-16 00:12:31 -08:00
|
|
|
version = "1.4.3";
|
2016-05-14 10:03:47 -07:00
|
|
|
name = "mpop-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-16 10:03:35 -08:00
|
|
|
url = "https://marlam.de/mpop/releases/${name}.tar.xz";
|
2019-02-16 00:12:31 -08:00
|
|
|
sha256 = "1di86frxv4gj8fasni409m87qmv0j0vmj13lawkz1pwv9hbynhjb";
|
2016-05-14 10:03:47 -07:00
|
|
|
};
|
|
|
|
|
2017-03-17 18:02:23 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-12-16 10:03:35 -08:00
|
|
|
buildInputs = [ gnutls gsasl libidn ]
|
2017-03-17 18:02:23 -07:00
|
|
|
++ optional stdenv.isDarwin Security;
|
2016-05-14 10:03:47 -07:00
|
|
|
|
2018-12-16 10:03:35 -08:00
|
|
|
configureFlags = optional stdenv.isDarwin [ "--with-macosx-keyring" ];
|
2016-05-14 10:03:47 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "POP3 mail retrieval agent";
|
2018-12-16 10:03:35 -08:00
|
|
|
homepage = https://marlam.de/mpop;
|
2017-03-17 18:02:23 -07:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
2016-05-14 10:03:47 -07:00
|
|
|
};
|
|
|
|
}
|