nixpkgs/pkgs/development/libraries/tracker-miners/default.nix

139 lines
2.1 KiB
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
, substituteAll
, asciidoc
, docbook-xsl-nons
, docbook_xml_dtd_45
, gettext
, itstool
, libxslt
, gexiv2
, tracker
, meson
, ninja
, pkg-config
, vala
, wrapGAppsHook
, bzip2
, dbus
, evolution-data-server
, exempi
, giflib
, glib
, gnome
, gst_all_1
, icu
, json-glib
, libcue
, libexif
, libgrss
, libgsf
, libgxps
, libiptcdata
, libjpeg
, libosinfo
, libpng
, libseccomp
, libsoup
, libtiff
, libuuid
, libxml2
, networkmanager
, poppler
, systemd
, taglib
, upower
, totem-pl-parser
}:
stdenv.mkDerivation rec {
2018-03-21 09:45:31 +03:00
pname = "tracker-miners";
2021-03-21 10:28:29 +03:00
version = "3.1.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-03-21 10:28:29 +03:00
sha256 = "sha256-5NNhNRsVbyhipSRBX76/BTnHgc2HxmKWYvAmW0gDuLg=";
};
nativeBuildInputs = [
asciidoc
docbook-xsl-nons
docbook_xml_dtd_45
gettext
itstool
libxslt
meson
ninja
pkg-config
vala
wrapGAppsHook
];
2017-10-05 00:50:14 +03:00
2018-08-18 16:55:14 +03:00
# TODO: add libenca, libosinfo
2017-10-05 00:50:14 +03:00
buildInputs = [
bzip2
dbus
evolution-data-server
exempi
giflib
glib
2019-02-14 00:47:50 +03:00
gexiv2
totem-pl-parser
2019-02-14 00:47:50 +03:00
tracker
gst_all_1.gst-plugins-base
gst_all_1.gstreamer
icu
json-glib
libcue
libexif
2018-08-18 16:55:14 +03:00
libgrss
libgsf
libgxps
libiptcdata
libjpeg
libosinfo
libpng
libseccomp
libsoup
libtiff
libuuid
libxml2
networkmanager
poppler
systemd
taglib
upower
2017-10-05 00:50:14 +03:00
];
mesonFlags = [
2018-08-18 16:55:14 +03:00
# TODO: tests do not like our sandbox
"-Dfunctional_tests=false"
];
2017-10-05 00:50:14 +03:00
2018-03-05 04:10:37 +03:00
patches = [
(substituteAll {
src = ./fix-paths.patch;
inherit asciidoc;
})
2018-03-05 04:10:37 +03:00
];
2017-10-05 00:50:14 +03:00
postInstall = ''
glib-compile-schemas "$out/share/glib-2.0/schemas"
'';
2018-06-30 03:31:10 +03:00
2018-08-18 16:55:14 +03:00
passthru = {
updateScript = gnome.updateScript {
2018-08-18 16:55:14 +03:00
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Projects/Tracker";
2017-10-05 00:50:14 +03:00
description = "Desktop-neutral user information store, search tool and indexer";
maintainers = teams.gnome.members;
license = licenses.gpl2Plus;
2017-10-05 00:50:14 +03:00
platforms = platforms.linux;
};
}