nixpkgs/pkgs/applications/networking/mpop/default.nix

28 lines
709 B
Nix
Raw Normal View History

2016-05-14 19:03:47 +02:00
{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
2017-03-18 02:02:23 +01:00
with stdenv.lib;
2016-05-14 19:03:47 +02:00
stdenv.mkDerivation rec {
2017-03-18 02:02:23 +01:00
version = "1.2.6";
2016-05-14 19:03:47 +02:00
name = "mpop-${version}";
src = fetchurl {
url = "mirror://sourceforge/mpop/${name}.tar.xz";
2017-03-18 02:02:23 +01:00
sha256 = "0p1ix63jh64dibrlccch8q7gxl9nn18wd2qpyr5z1h4gs2fpmv4z";
2016-05-14 19:03:47 +02:00
};
2017-03-18 02:02:23 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl gnutls gsasl libidn ]
++ optional stdenv.isDarwin Security;
2016-05-14 19:03:47 +02:00
configureFlags =
2017-03-18 02:02:23 +01:00
optional stdenv.isDarwin [ "--with-macosx-keyring" ];
2016-05-14 19:03:47 +02:00
meta = {
description = "POP3 mail retrieval agent";
2017-03-18 02:02:23 +01:00
homepage = http://mpop.sourceforge.net/;
license = licenses.gpl3Plus;
platforms = platforms.unix;
2016-05-14 19:03:47 +02:00
};
}