3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/mpop/default.nix
Will Dietz ed873e2b9a mpop: 1.4.3 -> 1.4.4
https://marlam.de/mpop/news/mpop-1-4-4/

Touchup pname/name while visiting.
2019-04-25 23:29:27 -05:00

27 lines
703 B
Nix

{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "mpop";
version = "1.4.4";
src = fetchurl {
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
sha256 = "0j21cp8bw12vgfymxi3i4av3j97lrcyb5y9xa3mb59wr17izz73x";
};
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;
};
}