mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
28 lines
709 B
Nix
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;
|
|
};
|
|
}
|