2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gnutls, gsasl, libidn, Security }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mpop";
|
2021-03-20 04:20:00 +00:00
|
|
|
version = "1.4.13";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
|
2021-03-20 04:20:00 +00:00
|
|
|
sha256 = "sha256-s0mEZsZbZQrdGm55IJsnuoY3VnOkXJalknvtaFoyfcE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ gnutls gsasl libidn ]
|
|
|
|
++ optional stdenv.isDarwin Security;
|
|
|
|
|
|
|
|
configureFlags = optional stdenv.isDarwin [ "--with-macosx-keyring" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "POP3 mail retrieval agent";
|
|
|
|
homepage = "https://marlam.de/mpop";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|