3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/mpop/default.nix

27 lines
697 B
Nix
Raw Normal View History

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