forked from mirrors/nixpkgs
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:
parent
3c76ece85b
commit
5a79b0fc86
|
@ -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
|
||||
|
|
|
@ -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 ];
|
||||
|
||||
};
|
||||
|
||||
}
|
27
pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix
Normal file
27
pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue