2017-12-03 00:30:25 +01:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig
|
2017-10-04 23:50:14 +02:00
|
|
|
, libxml2, upower, glib, wrapGAppsHook, vala, sqlite, libxslt
|
|
|
|
, gnome3, icu, libuuid, networkmanager, libsoup, json_glib }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-10-04 23:50:14 +02:00
|
|
|
nativeBuildInputs = [ vala pkgconfig intltool libxslt wrapGAppsHook ];
|
|
|
|
# TODO: add libstemmer
|
|
|
|
buildInputs = [
|
|
|
|
glib libxml2 sqlite upower icu networkmanager libsoup libuuid json_glib
|
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2017-10-04 23:50:14 +02:00
|
|
|
# TODO: figure out wrapping unit tests, some of them fail on missing gsettings_desktop_schemas
|
|
|
|
configureFlags = [ "--disable-unit-tests" ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2017-10-04 23:50:14 +02:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs utils/g-ir-merge/g-ir-merge
|
2016-09-18 21:35:23 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|