2019-08-12 03:28:31 +01:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
|
|
|
, openssl
|
|
|
|
}:
|
2014-09-29 21:21:56 +01:00
|
|
|
|
2019-08-12 03:28:31 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libetpan";
|
|
|
|
version = "1.9.3";
|
2014-09-29 21:21:56 +01:00
|
|
|
|
2019-08-12 03:28:31 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dinhviethoa";
|
|
|
|
repo = "libetpan";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "19g4qskg71jv7sxfxsdkjmrxk9mk5kf9b6fhw06g6wvm3205n95f";
|
2014-09-29 21:21:56 +01:00
|
|
|
};
|
|
|
|
|
2019-08-12 03:28:31 +01:00
|
|
|
nativeBuildInputs = [ libtool autoconf automake ];
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
2014-09-29 21:21:56 +01:00
|
|
|
|
|
|
|
configureScript = "./autogen.sh";
|
2014-12-22 04:37:10 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An efficient, portable library for different kinds of mail access: IMAP, SMTP, POP, and NNTP";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.etpan.org/libetpan.html";
|
2014-12-22 04:37:10 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2014-09-29 21:21:56 +01:00
|
|
|
}
|