nixpkgs/pkgs/desktops/gnome-3/core/tracker/default.nix
2017-11-26 03:10:49 +01:00

30 lines
975 B
Nix

{ stdenv, fetchurl, fetchpatch, intltool, pkgconfig
, libxml2, upower, glib, wrapGAppsHook, vala, sqlite, libxslt
, gnome3, icu, libuuid, networkmanager, libsoup, json_glib }:
stdenv.mkDerivation rec {
inherit (import ./src.nix fetchurl) name src;
enableParallelBuilding = true;
nativeBuildInputs = [ vala pkgconfig intltool libxslt wrapGAppsHook ];
# TODO: add libstemmer
buildInputs = [
glib libxml2 sqlite upower icu networkmanager libsoup libuuid json_glib
];
# TODO: figure out wrapping unit tests, some of them fail on missing gsettings_desktop_schemas
configureFlags = [ "--disable-unit-tests" ];
postPatch = ''
patchShebangs utils/g-ir-merge/g-ir-merge
'';
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Projects/Tracker;
description = "Desktop-neutral user information store, search tool and indexer";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}