2021-10-12 07:30:43 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, gnutls
|
|
|
|
, gsasl
|
|
|
|
, libidn
|
|
|
|
, pkg-config
|
|
|
|
, Security
|
|
|
|
}:
|
2017-03-18 01:02:23 +00:00
|
|
|
|
2016-05-14 17:03:47 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-04-25 00:28:04 +00:00
|
|
|
pname = "mpop";
|
2021-10-31 11:40:00 +00:00
|
|
|
version = "1.4.16";
|
2016-05-14 17:03:47 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-25 00:28:04 +00:00
|
|
|
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
|
2021-10-31 11:40:00 +00:00
|
|
|
sha256 = "sha256-hw61cerm0j+5KtDITXnenDjF9iTjYUk31XS/5Jumh/k=";
|
2016-05-14 17:03:47 +00:00
|
|
|
};
|
|
|
|
|
2021-10-12 07:30:43 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gnutls
|
|
|
|
gsasl
|
|
|
|
libidn
|
|
|
|
] ++ lib.optional stdenv.isDarwin [
|
|
|
|
Security
|
|
|
|
];
|
2016-05-14 17:03:47 +00:00
|
|
|
|
2021-10-12 07:30:43 +00:00
|
|
|
configureFlags = lib.optional stdenv.isDarwin [
|
|
|
|
"--with-macosx-keyring"
|
|
|
|
];
|
2016-05-14 17:03:47 +00:00
|
|
|
|
2021-10-12 07:30:43 +00:00
|
|
|
meta = with lib;{
|
|
|
|
description = "POP3 mail retrieval agent";
|
|
|
|
homepage = "https://marlam.de/mpop";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2016-05-14 17:03:47 +00:00
|
|
|
}
|