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";
|
2020-11-24 20:58:05 +00:00
|
|
|
version = "1.4.11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
|
2020-11-24 20:58:05 +00:00
|
|
|
sha256 = "1gcxvhin5y0q47svqbf90r5aip0cgywm8sq6m84ygda7km8xylwv";
|
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;
|
|
|
|
};
|
|
|
|
}
|