1{ autoconf, automake, fetchgit, libtool, stdenv, openssl }:
2
3let version = "1.6"; in
4
5stdenv.mkDerivation {
6 name = "libetpan-${version}";
7
8 src = fetchgit {
9 url = "git://github.com/dinhviethoa/libetpan";
10 rev = "refs/tags/" + version;
11 sha256 = "13hv49271rr9yj7ifxqqmc0jfy1f26llivhp22s5wigick7qjxky";
12 };
13
14 buildInputs = [ autoconf automake libtool openssl ];
15
16 configureScript = "./autogen.sh";
17
18 meta = with stdenv.lib; {
19 description = "An efficient, portable library for different kinds of mail access: IMAP, SMTP, POP, and NNTP";
20 homepage = http://www.etpan.org/libetpan.html;
21 license = licenses.bsd3;
22 platforms = platforms.linux;
23 };
24}