summary refs log tree commit diff
path: root/pkgs/development/libraries/libetpan/default.nix
blob: 6756a8dbc5696d2425abc6a188cb91189732c159 (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
25
26
27
28
29
30
31
{ stdenv, fetchFromGitHub
, autoconf
, automake
, libtool
, openssl
}:

stdenv.mkDerivation rec {
  pname = "libetpan";
  version = "1.9.3";

  src = fetchFromGitHub {
    owner = "dinhviethoa";
    repo = "libetpan";
    rev = version;
    sha256 = "19g4qskg71jv7sxfxsdkjmrxk9mk5kf9b6fhw06g6wvm3205n95f";
  };

  nativeBuildInputs = [ libtool autoconf automake ];

  buildInputs = [ 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;
  };
}