2014-09-29 22:21:56 +02:00
|
|
|
{ autoconf, automake, fetchgit, libtool, stdenv, openssl }:
|
|
|
|
|
2014-12-22 05:37:10 +01:00
|
|
|
let version = "1.6"; in
|
2014-09-29 22:21:56 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libetpan-${version}";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://github.com/dinhviethoa/libetpan";
|
|
|
|
rev = "refs/tags/" + version;
|
2014-12-22 05:37:10 +01:00
|
|
|
sha256 = "12n0vd0bwdyjcmwmpv1hdq5l04mqy6qfyy8mhsblddqaa1ah9qy8";
|
2014-09-29 22:21:56 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ autoconf automake libtool openssl ];
|
|
|
|
|
|
|
|
configureScript = "./autogen.sh";
|
2014-12-22 05:37:10 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An efficient, portable library for different kinds of mail access: IMAP, SMTP, POP, and NNTP";
|
|
|
|
homepage = http://www.etpan.org/libetpan.html;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2014-09-29 22:21:56 +02:00
|
|
|
}
|