2015-10-05 14:58:37 +01:00
|
|
|
{ fetchgit, stdenv, zlib, bzip2, docbook2x, pcre, curl, libxml2, libevent, perl
|
2014-10-06 20:24:09 +01:00
|
|
|
, pkgconfig, protobuf, tokyocabinet, tokyotyrant, opencv, autoconf, automake
|
|
|
|
, libtool, seeks_confDir ? ""
|
2011-12-04 22:03:03 +00:00
|
|
|
}:
|
2010-07-22 10:03:35 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-10-06 20:24:09 +01:00
|
|
|
name = "seeks-0.4.1";
|
2010-07-22 10:03:35 +01:00
|
|
|
|
2014-10-06 20:24:09 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://github.com/beniz/seeks.git";
|
|
|
|
rev = "1168b3a2f3111c3fca31dd961135194c3e8df5fd";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "18s2pxal9a2aayv63hc19vnkx5a5y9rhbipdpvkinbni5283iiar";
|
2010-07-22 10:03:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
2015-10-05 14:58:37 +01:00
|
|
|
[ zlib bzip2 docbook2x pcre curl libxml2 libevent perl pkgconfig
|
2014-10-06 20:24:09 +01:00
|
|
|
protobuf tokyocabinet tokyotyrant opencv autoconf automake libtool
|
2010-07-22 10:03:35 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags =
|
|
|
|
[ # Enable the built-in web server providing a web search interface.
|
|
|
|
"--enable-httpserv-plugin=yes"
|
2015-10-05 14:58:37 +01:00
|
|
|
"--with-libevent=${libevent.dev}"
|
2010-07-22 10:03:35 +01:00
|
|
|
];
|
|
|
|
|
2014-10-06 20:24:09 +01:00
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = stdenv.lib.optionalString (seeks_confDir != "") ''
|
|
|
|
ln -svf ${seeks_confDir}/config $out/etc/seeks/config
|
|
|
|
ln -svf ${seeks_confDir}/cf-config $out/etc/seeks/cf-config
|
|
|
|
ln -svf ${seeks_confDir}/httpserv-config $out/etc/seeks/httpserv-config
|
|
|
|
ln -svf ${seeks_confDir}/img-websearch-config $out/etc/seeks/img-websearch-config
|
|
|
|
ln -svf ${seeks_confDir}/lsh-config $out/etc/seeks/lsh-config
|
|
|
|
ln -svf ${seeks_confDir}/query-capture-config $out/etc/seeks/query-capture-config
|
|
|
|
ln -svf ${seeks_confDir}/udb-service-config $out/etc/seeks/udb-service-config
|
|
|
|
ln -svf ${seeks_confDir}/uri-capture-config $out/etc/seeks/uri-capture-config
|
|
|
|
ln -svf ${seeks_confDir}/websearch-config $out/etc/seeks/websearch-config
|
|
|
|
'';
|
|
|
|
|
2011-01-19 22:56:31 +00:00
|
|
|
# FIXME: Test suite needs <https://code.google.com/p/googletest/>.
|
|
|
|
doCheck = false;
|
|
|
|
|
2010-07-22 10:03:35 +01:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.agpl3Plus;
|
2010-07-22 10:03:35 +01:00
|
|
|
|
|
|
|
homepage = http://www.seeks-project.info/;
|
|
|
|
|
2014-10-06 20:24:09 +01:00
|
|
|
maintainers = [
|
|
|
|
stdenv.lib.maintainers.matejc
|
|
|
|
];
|
2018-04-30 23:47:47 +01:00
|
|
|
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
|
2018-04-11 10:52:48 +01:00
|
|
|
broken = true; # 2018-04-11
|
2010-07-22 10:03:35 +01:00
|
|
|
};
|
|
|
|
}
|