gnome-online-miners: new package

A set of crawlers that go through your online content and index them locally in Tracker

https://wiki.gnome.org/Projects/GnomeOnlineMiners
This commit is contained in:
Luca Bruno 2014-04-21 00:18:01 +02:00
parent 3c76ece85b
commit 5a79b0fc86
4 changed files with 69 additions and 0 deletions

View file

@ -102,6 +102,7 @@
./services/desktops/gnome3/evolution-data-server.nix
./services/desktops/gnome3/gnome-keyring.nix
./services/desktops/gnome3/gnome-online-accounts.nix
./services/desktops/gnome3/gnome-online-miners.nix
./services/desktops/gnome3/gnome-user-share.nix
./services/desktops/gnome3/seahorse.nix
./services/desktops/gnome3/sushi.nix

View file

@ -0,0 +1,39 @@
# GNOME Online Miners daemon.
{ config, pkgs, ... }:
with pkgs.lib;
{
###### interface
options = {
services.gnome3.gnome-online-miners = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable GNOME Online Miners, a service that
crawls through your online content.
'';
};
};
};
###### implementation
config = mkIf config.services.gnome3.gnome-online-miners.enable {
environment.systemPackages = [ pkgs.gnome3.gnome-online-miners ];
services.dbus.packages = [ pkgs.gnome3.gnome-online-miners ];
};
}

View file

@ -0,0 +1,27 @@
{ stdenv, fetchurl, pkgconfig, glib, gnome3, libxml2
, libsoup, json_glib, gmp, openssl }:
stdenv.mkDerivation rec {
name = "gnome-online-miners-3.10.3";
src = fetchurl {
url = "mirror://gnome/sources/gnome-online-miners/3.10/${name}.tar.xz";
sha256 = "129807d398e7744870110e6875629b6858d289021271550569ce5afa10fe9ea8";
};
doCheck = true;
buildInputs = [ pkgconfig glib gnome3.libgdata libxml2 libsoup gmp openssl
gnome3.grilo gnome3.libzapojit gnome3.gnome_online_accounts
gnome3.tracker gnome3.gfbgraph json_glib gnome3.rest ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Projects/GnomeOnlineMiners;
description = "A set of crawlers that go through your online content and index them locally in Tracker";
maintainers = with maintainers; [ lethalman ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}

View file

@ -72,6 +72,8 @@ rec {
gnome_online_accounts = callPackage ./core/gnome-online-accounts { };
gnome-online-miners = callPackage ./core/gnome-online-miners { };
gnome_session = callPackage ./core/gnome-session { };
gnome_shell = callPackage ./core/gnome-shell { };