summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/tools/networking/p2p/seeks/default.nix49
-rw-r--r--pkgs/top-level/all-packages.nix5
2 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/tools/networking/p2p/seeks/default.nix b/pkgs/tools/networking/p2p/seeks/default.nix
new file mode 100644
index 000000000000..83f9b74e11a4
--- /dev/null
+++ b/pkgs/tools/networking/p2p/seeks/default.nix
@@ -0,0 +1,49 @@
+{ fetchurl, stdenv, zlib, docbook2x, pcre, curl, libxml2, libevent, perl
+, autoconf, automake, libtool }:
+
+let version = "0.2.3a"; in
+stdenv.mkDerivation {
+  name = "seeks-${version}";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/seeks/solo/seeks_solo_stable-${version}.src.tar.gz";
+    sha256 = "0hjaqwcaa19qbq28y5gq0415fz10vx034aghqa01hrhhl9yrjvc4";
+  };
+
+  buildInputs =
+    [ zlib docbook2x pcre curl libxml2 libevent perl
+      autoconf automake libtool
+    ];
+
+  # The tarball doesn't contain `configure' & co.  Sigh...
+  preConfigure = "autoreconf -vfi";
+
+  configureFlags =
+    [ # Enable the built-in web server providing a web search interface.
+      # See <http://www.seeks-project.info/wiki/index.php/Seeks_On_Web>.
+      "--enable-httpserv-plugin=yes"
+      "--with-libevent=${libevent}"
+    ];
+
+  meta = {
+    description = "Seeks, a social web search engine";
+
+    longDescription =
+      '' Seeks is a free and open technical design and application for
+         enabling social websearch.  Its specific purpose is to regroup users
+         whose queries are similar so they can share both the query results
+         and their experience on these results.  On this basis, Seeks allows
+         for true real-time, decentralized, websearch to emerge.
+
+         In the long term, there is no need for web crawlers and third-party
+         web indexes as users can push content directly to search groups.
+      '';
+
+    license = "AGPLv3+";
+
+    homepage = http://www.seeks-project.info/;
+
+    maintainers = [ stdenv.lib.maintainers.ludo ];
+    platforms = stdenv.lib.platforms.gnu;  # arbitrary choice
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 07466a61b8e5..251416f3da40 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -8755,6 +8755,11 @@ let
     qt = qt3;
   };
 
+  seeks = import ../tools/networking/p2p/seeks {
+    inherit fetchurl stdenv zlib docbook2x pcre curl libxml2 libevent perl
+      autoconf automake libtool;
+  };
+
   seg3d = import ../applications/graphics/seg3d {
     inherit fetchurl stdenv cmake itk mesa zlib libuuid;
     inherit (xlibs) libXft libXext libXi libXmu;