nixpkgs/pkgs/desktops/gnome-3/core/tracker/default.nix

41 lines
1.2 KiB
Nix
Raw Normal View History

2017-12-02 23:30:25 +00:00
{ stdenv, fetchurl, intltool, pkgconfig
2017-10-04 21:50:14 +00:00
, libxml2, upower, glib, wrapGAppsHook, vala, sqlite, libxslt
, gnome3, icu, libuuid, networkmanager, libsoup, json-glib }:
stdenv.mkDerivation rec {
name = "tracker-${version}";
2018-03-04 20:18:49 +00:00
version = "2.0.3";
src = fetchurl {
url = "mirror://gnome/sources/tracker/${gnome3.versionBranch version}/${name}.tar.xz";
2018-03-04 20:18:49 +00:00
sha256 = "1005w90vhk1cl8g6kxpy2vdzbskw2jskfjcl42lngv18q5sb4bss";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "tracker"; attrPath = "gnome3.tracker"; };
};
enableParallelBuilding = true;
2017-10-04 21:50:14 +00:00
nativeBuildInputs = [ vala pkgconfig intltool libxslt wrapGAppsHook ];
# TODO: add libstemmer
buildInputs = [
glib libxml2 sqlite upower icu networkmanager libsoup libuuid json-glib
2017-10-04 21:50:14 +00:00
];
# TODO: figure out wrapping unit tests, some of them fail on missing gsettings-desktop-schemas
2017-10-04 21:50:14 +00:00
configureFlags = [ "--disable-unit-tests" ];
2017-10-04 21:50:14 +00:00
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;
};
}