depot/third_party/nixpkgs/pkgs/applications/networking/mpop/default.nix
Default email 66604c92c1 Project import generated by Copybara.
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
2020-05-15 23:57:56 +02:00

26 lines
696 B
Nix

{ stdenv, fetchurl, pkgconfig, gnutls, gsasl, libidn, Security }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "mpop";
version = "1.4.9";
src = fetchurl {
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
sha256 = "0hinmyd4lipy9wi3grwm72vv6xrpf4m08i9g9nlxzxnwfanw885q";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gnutls gsasl libidn ]
++ optional stdenv.isDarwin Security;
configureFlags = optional stdenv.isDarwin [ "--with-macosx-keyring" ];
meta = {
description = "POP3 mail retrieval agent";
homepage = "https://marlam.de/mpop";
license = licenses.gpl3Plus;
platforms = platforms.unix;
};
}