about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libetpan
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libetpan')
-rw-r--r--nixpkgs/pkgs/development/libraries/libetpan/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libetpan/default.nix b/nixpkgs/pkgs/development/libraries/libetpan/default.nix
new file mode 100644
index 000000000000..6756a8dbc569
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libetpan/default.nix
@@ -0,0 +1,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;
+  };
+}