summary refs log tree commit diff
path: root/pkgs/applications/networking/mpop
diff options
context:
space:
mode:
authorSebastian Schwarz <seschwar@gmail.com>2016-05-14 19:03:47 +0200
committerSebastian Schwarz <seschwar@gmail.com>2016-05-14 22:27:07 +0200
commit97581e7458eff1afd11b85568065070d1b6869c7 (patch)
treed466b6bdf8585c7c1fbfe6653f62e206b74484dd /pkgs/applications/networking/mpop
parent934be04e195103d3471470630eeff1a47d865250 (diff)
downloadnixpkgs-97581e7458eff1afd11b85568065070d1b6869c7.tar
nixpkgs-97581e7458eff1afd11b85568065070d1b6869c7.tar.gz
nixpkgs-97581e7458eff1afd11b85568065070d1b6869c7.tar.bz2
nixpkgs-97581e7458eff1afd11b85568065070d1b6869c7.tar.lz
nixpkgs-97581e7458eff1afd11b85568065070d1b6869c7.tar.xz
nixpkgs-97581e7458eff1afd11b85568065070d1b6869c7.tar.zst
nixpkgs-97581e7458eff1afd11b85568065070d1b6869c7.zip
mpop: init at 1.2.4
Diffstat (limited to 'pkgs/applications/networking/mpop')
-rw-r--r--pkgs/applications/networking/mpop/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mpop/default.nix b/pkgs/applications/networking/mpop/default.nix
new file mode 100644
index 00000000000..b2cc30b6f1f
--- /dev/null
+++ b/pkgs/applications/networking/mpop/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
+
+stdenv.mkDerivation rec {
+  version = "1.2.4";
+  name = "mpop-${version}";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/mpop/${name}.tar.xz";
+    sha256 = "158zl6clxrl2id4kvdig2lvdvm0vg2byqcgn1dnxfjg5mw16ngwk";
+  };
+
+  buildInputs = [ openssl pkgconfig gnutls gsasl libidn ]
+    ++ stdenv.lib.optional stdenv.isDarwin Security;
+
+  configureFlags =
+    stdenv.lib.optional stdenv.isDarwin [ "--with-macosx-keyring" ];
+
+  meta = {
+      description = "POP3 mail retrieval agent";
+      homepage = "http://mpop.sourceforge.net/";
+      license = stdenv.lib.licenses.gpl3Plus;
+      platforms = stdenv.lib.platforms.unix;
+    };
+}