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.nix29
1 files changed, 29 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..b4b48dcb777d
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libetpan/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, lib, fetchFromGitHub
+, autoconf, automake, libtool, openssl, pkg-config
+}:
+
+stdenv.mkDerivation rec {
+  pname = "libetpan";
+  version = "1.9.4";
+
+  src = fetchFromGitHub {
+    owner = "dinhviethoa";
+    repo = "libetpan";
+    rev = version;
+    sha256 = "0g7an003simfdn7ihg9yjv7hl2czsmjsndjrp39i7cad8icixscn";
+  };
+
+  nativeBuildInputs = [ autoconf automake libtool pkg-config ];
+
+  buildInputs = [ openssl ];
+
+  configureScript = "./autogen.sh";
+
+  meta = with lib; {
+    description = "Mail Framework for the C Language";
+    homepage = "http://www.etpan.org/libetpan.html";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ oxzi ];
+    platforms = platforms.linux;
+  };
+}