92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
42 lines
734 B
Nix
42 lines
734 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, gnutls
|
|
, gsasl
|
|
, libidn
|
|
, pkg-config
|
|
, Security
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mpop";
|
|
version = "1.4.17";
|
|
|
|
src = fetchurl {
|
|
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-Qq5JS60pQdn2R8SMPtmMOLqapc8/5I+w/gblttrfi9U=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
gnutls
|
|
gsasl
|
|
libidn
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
Security
|
|
];
|
|
|
|
configureFlags = lib.optionals stdenv.isDarwin [
|
|
"--with-macosx-keyring"
|
|
];
|
|
|
|
meta = with lib;{
|
|
description = "POP3 mail retrieval agent";
|
|
homepage = "https://marlam.de/mpop";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|