summary refs log tree commit diff
path: root/pkgs/development/libraries/libetpan
diff options
context:
space:
mode:
authorBryan Gardiner <bog@khumba.net>2014-09-29 13:21:56 -0700
committerBryan Gardiner <bog@khumba.net>2014-10-06 18:07:43 -0700
commitde0a388ccf186119b5fc90fca2549a7a8f328dcb (patch)
treeeaee9877ba5241a0f80be4fdce8145519c882145 /pkgs/development/libraries/libetpan
parentd2dfc6a19fc99a79572b6e722b24051fde59a92a (diff)
downloadnixpkgs-de0a388ccf186119b5fc90fca2549a7a8f328dcb.tar
nixpkgs-de0a388ccf186119b5fc90fca2549a7a8f328dcb.tar.gz
nixpkgs-de0a388ccf186119b5fc90fca2549a7a8f328dcb.tar.bz2
nixpkgs-de0a388ccf186119b5fc90fca2549a7a8f328dcb.tar.lz
nixpkgs-de0a388ccf186119b5fc90fca2549a7a8f328dcb.tar.xz
nixpkgs-de0a388ccf186119b5fc90fca2549a7a8f328dcb.tar.zst
nixpkgs-de0a388ccf186119b5fc90fca2549a7a8f328dcb.zip
Add claws-mail and libetpan.
Adds Nix expressions for claws-mail (http://www.claws-mail.org) and a
dependency that is not already in the tree, libetpan
(http://www.etpan.org/libetpan.html).

The Claws expression has flags for toggling the build of various plugins.
Diffstat (limited to 'pkgs/development/libraries/libetpan')
-rw-r--r--pkgs/development/libraries/libetpan/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libetpan/default.nix b/pkgs/development/libraries/libetpan/default.nix
new file mode 100644
index 00000000000..e628490f159
--- /dev/null
+++ b/pkgs/development/libraries/libetpan/default.nix
@@ -0,0 +1,24 @@
+{ autoconf, automake, fetchgit, libtool, stdenv, openssl }:
+
+let version = "1.5"; in
+
+stdenv.mkDerivation {
+  name = "libetpan-${version}";
+
+  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;
+  };
+
+  src = fetchgit {
+    url = "git://github.com/dinhviethoa/libetpan";
+    rev = "refs/tags/" + version;
+    sha256 = "bf9465121a0fb09418215ee3474a400ea5bc5ed05a6811a2978afe4905e140c9";
+  };
+
+  buildInputs = [ autoconf automake libtool openssl ];
+
+  configureScript = "./autogen.sh";
+}