2020-10-01 23:31:31 +02:00
|
|
|
{ stdenv, lib, fetchFromGitHub
|
|
|
|
, autoconf, automake, libtool, openssl, pkg-config
|
2019-08-12 04:28:31 +02:00
|
|
|
}:
|
2014-09-29 22:21:56 +02:00
|
|
|
|
2019-08-12 04:28:31 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libetpan";
|
2020-10-01 23:31:31 +02:00
|
|
|
version = "1.9.4";
|
2014-09-29 22:21:56 +02:00
|
|
|
|
2019-08-12 04:28:31 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dinhviethoa";
|
|
|
|
repo = "libetpan";
|
|
|
|
rev = version;
|
2020-10-01 23:31:31 +02:00
|
|
|
sha256 = "0g7an003simfdn7ihg9yjv7hl2czsmjsndjrp39i7cad8icixscn";
|
2014-09-29 22:21:56 +02:00
|
|
|
};
|
|
|
|
|
2020-10-01 23:31:31 +02:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
2019-08-12 04:28:31 +02:00
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
2014-09-29 22:21:56 +02:00
|
|
|
|
|
|
|
configureScript = "./autogen.sh";
|
2014-12-22 05:37:10 +01:00
|
|
|
|
2020-10-01 23:31:31 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Mail Framework for the C Language";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.etpan.org/libetpan.html";
|
2014-12-22 05:37:10 +01:00
|
|
|
license = licenses.bsd3;
|
2020-10-01 23:31:31 +02:00
|
|
|
maintainers = with maintainers; [ oxzi ];
|
2014-12-22 05:37:10 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2014-09-29 22:21:56 +02:00
|
|
|
}
|