1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/applications/networking/mpop/default.nix
2017-03-17 20:02:23 -05:00

28 lines
709 B
Nix

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