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