2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gnutls, gsasl, libidn, Security }:
|
2016-05-14 19:03:47 +02:00
|
|
|
|
2021-01-15 14:21:58 +01:00
|
|
|
with lib;
|
2017-03-18 02:02:23 +01:00
|
|
|
|
2016-05-14 19:03:47 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-04-25 02:28:04 +02:00
|
|
|
pname = "mpop";
|
2020-11-19 05:31:34 +01:00
|
|
|
version = "1.4.11";
|
2016-05-14 19:03:47 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-25 02:28:04 +02:00
|
|
|
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
|
2020-11-19 05:31:34 +01:00
|
|
|
sha256 = "1gcxvhin5y0q47svqbf90r5aip0cgywm8sq6m84ygda7km8xylwv";
|
2016-05-14 19:03:47 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-12-16 19:03:35 +01:00
|
|
|
buildInputs = [ gnutls gsasl libidn ]
|
2017-03-18 02:02:23 +01:00
|
|
|
++ optional stdenv.isDarwin Security;
|
2016-05-14 19:03:47 +02:00
|
|
|
|
2018-12-16 19:03:35 +01:00
|
|
|
configureFlags = optional stdenv.isDarwin [ "--with-macosx-keyring" ];
|
2016-05-14 19:03:47 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "POP3 mail retrieval agent";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://marlam.de/mpop";
|
2017-03-18 02:02:23 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
2016-05-14 19:03:47 +02:00
|
|
|
};
|
|
|
|
}
|