nixpkgs/pkgs/applications/networking/mpop/default.nix

27 lines
697 B
Nix
Raw Normal View History

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