summary refs log tree commit diff
path: root/pkgs/development/libraries/libetpan/default.nix
blob: aa201106e3cfd9d1c2926a457adf9b05130bb1e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ autoconf, automake, fetchgit, libtool, stdenv, openssl }:

let version = "1.6"; in

stdenv.mkDerivation {
  name = "libetpan-${version}";

  src = fetchgit {
    url = "git://github.com/dinhviethoa/libetpan";
    rev = "refs/tags/" + version;
    sha256 = "12n0vd0bwdyjcmwmpv1hdq5l04mqy6qfyy8mhsblddqaa1ah9qy8";
  };

  buildInputs = [ autoconf automake libtool openssl ];

  configureScript = "./autogen.sh";

  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;
  };
}