Merge pull request #91256 from prusnak/seeks
seeks: remove, upstream unmaintained
This commit is contained in:
commit
52532b7c36
@ -184,7 +184,7 @@ in
|
||||
consul = 145;
|
||||
mailpile = 146;
|
||||
redmine = 147;
|
||||
seeks = 148;
|
||||
#seeks = 148; # removed 2020-06-21
|
||||
prosody = 149;
|
||||
i2pd = 150;
|
||||
systemd-network = 152;
|
||||
@ -497,7 +497,7 @@ in
|
||||
#consul = 145; # unused
|
||||
mailpile = 146;
|
||||
redmine = 147;
|
||||
seeks = 148;
|
||||
#seeks = 148; # removed 2020-06-21
|
||||
prosody = 149;
|
||||
i2pd = 150;
|
||||
systemd-network = 152;
|
||||
|
@ -725,7 +725,6 @@
|
||||
./services/networking/rxe.nix
|
||||
./services/networking/sabnzbd.nix
|
||||
./services/networking/searx.nix
|
||||
./services/networking/seeks.nix
|
||||
./services/networking/skydns.nix
|
||||
./services/networking/shadowsocks.nix
|
||||
./services/networking/shairport-sync.nix
|
||||
|
@ -68,6 +68,8 @@ with lib;
|
||||
to handle FIDO security tokens, so this isn't necessary anymore.
|
||||
'')
|
||||
|
||||
(mkRemovedOptionModule [ "services" "seeks" ] "")
|
||||
|
||||
# Do NOT add any option renames here, see top of the file
|
||||
];
|
||||
}
|
||||
|
@ -1,75 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
cfg = config.services.seeks;
|
||||
|
||||
confDir = cfg.confDir;
|
||||
|
||||
seeks = pkgs.seeks.override { seeks_confDir = confDir; };
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
###### interface
|
||||
|
||||
options = {
|
||||
|
||||
services.seeks = {
|
||||
|
||||
enable = mkOption {
|
||||
default = false;
|
||||
type = types.bool;
|
||||
description = "
|
||||
Whether to enable the Seeks server.
|
||||
";
|
||||
};
|
||||
|
||||
confDir = mkOption {
|
||||
default = "";
|
||||
type = types.str;
|
||||
description = "
|
||||
The Seeks server configuration. If it is not specified,
|
||||
a default configuration is used.
|
||||
";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
###### implementation
|
||||
|
||||
config = mkIf config.services.seeks.enable {
|
||||
|
||||
users.users.seeks =
|
||||
{ uid = config.ids.uids.seeks;
|
||||
description = "Seeks user";
|
||||
createHome = true;
|
||||
home = "/var/lib/seeks";
|
||||
};
|
||||
|
||||
users.groups.seeks =
|
||||
{ gid = config.ids.gids.seeks;
|
||||
};
|
||||
|
||||
systemd.services.seeks =
|
||||
{
|
||||
description = "Seeks server, the p2p search engine.";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
User = "seeks";
|
||||
ExecStart = "${seeks}/bin/seeks";
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [ seeks ];
|
||||
|
||||
};
|
||||
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
{ fetchgit, stdenv, zlib, bzip2, docbook2x, pcre, curl, libxml2, libevent, perl
|
||||
, pkgconfig, protobuf, tokyocabinet, tokyotyrant, opencv, autoconf, automake
|
||||
, libtool, seeks_confDir ? ""
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "seeks-0.4.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/beniz/seeks.git";
|
||||
rev = "1168b3a2f3111c3fca31dd961135194c3e8df5fd";
|
||||
sha256 = "18s2pxal9a2aayv63hc19vnkx5a5y9rhbipdpvkinbni5283iiar";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ zlib bzip2 docbook2x pcre curl libxml2 libevent perl pkgconfig
|
||||
protobuf tokyocabinet tokyotyrant opencv autoconf automake libtool
|
||||
];
|
||||
|
||||
configureFlags =
|
||||
[ # Enable the built-in web server providing a web search interface.
|
||||
"--enable-httpserv-plugin=yes"
|
||||
"--with-libevent=${libevent.dev}"
|
||||
];
|
||||
|
||||
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
|
||||
'';
|
||||
|
||||
# FIXME: Test suite needs <https://code.google.com/p/googletest/>.
|
||||
doCheck = false;
|
||||
|
||||
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 = stdenv.lib.licenses.agpl3Plus;
|
||||
|
||||
homepage = "http://www.seeks-project.info/";
|
||||
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.matejc
|
||||
];
|
||||
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
|
||||
broken = true; # 2018-04-11
|
||||
};
|
||||
}
|
@ -512,6 +512,7 @@ mapAliases ({
|
||||
scim = sc-im; # added 2016-01-22
|
||||
scollector = bosun; # added 2018-04-25
|
||||
sdlmame = mame; # added 2019-10-30
|
||||
seeks = throw "seeks has been removed from nixpkgs, as it was unmaintained"; # added 2020-06-21
|
||||
seg3d = throw "seg3d has been removed from nixpkgs (2019-11-10)";
|
||||
shared_mime_info = shared-mime-info; # added 2018-02-25
|
||||
skrooge2 = skrooge; # added 2017-02-18
|
||||
|
@ -22994,10 +22994,6 @@ in
|
||||
|
||||
seafile-client = libsForQt514.callPackage ../applications/networking/seafile-client { };
|
||||
|
||||
seeks = callPackage ../tools/networking/p2p/seeks {
|
||||
protobuf = protobuf3_1;
|
||||
};
|
||||
|
||||
sent = callPackage ../applications/misc/sent { };
|
||||
|
||||
seq24 = callPackage ../applications/audio/seq24 { };
|
||||
|
Loading…
Reference in New Issue
Block a user