2022-03-30 09:31:56 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchurl
|
2020-11-12 09:05:59 +00:00
|
|
|
, asciidoc
|
|
|
|
, docbook-xsl-nons
|
|
|
|
, docbook_xml_dtd_45
|
|
|
|
, gettext
|
2020-04-24 23:36:52 +00:00
|
|
|
, itstool
|
|
|
|
, libxslt
|
|
|
|
, gexiv2
|
|
|
|
, tracker
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
, bzip2
|
|
|
|
, dbus
|
|
|
|
, evolution-data-server
|
|
|
|
, exempi
|
|
|
|
, giflib
|
|
|
|
, glib
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2020-04-24 23:36:52 +00:00
|
|
|
, gst_all_1
|
|
|
|
, icu
|
|
|
|
, json-glib
|
|
|
|
, libcue
|
|
|
|
, libexif
|
|
|
|
, libgsf
|
|
|
|
, libgxps
|
|
|
|
, libiptcdata
|
|
|
|
, libjpeg
|
|
|
|
, libosinfo
|
|
|
|
, libpng
|
|
|
|
, libseccomp
|
|
|
|
, libsoup
|
|
|
|
, libtiff
|
|
|
|
, libuuid
|
|
|
|
, libxml2
|
2020-11-12 09:05:59 +00:00
|
|
|
, networkmanager
|
2020-04-24 23:36:52 +00:00
|
|
|
, poppler
|
2020-11-12 09:05:59 +00:00
|
|
|
, systemd
|
2020-04-24 23:36:52 +00:00
|
|
|
, taglib
|
|
|
|
, upower
|
|
|
|
, totem-pl-parser
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tracker-miners";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "3.3.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-05 17:12:51 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "Pt3G0nLAKWn6TCwV360MSddtAh8aJ+xwi2m+gCU1PJQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-11-12 09:05:59 +00:00
|
|
|
asciidoc
|
|
|
|
docbook-xsl-nons
|
|
|
|
docbook_xml_dtd_45
|
|
|
|
gettext
|
2020-04-24 23:36:52 +00:00
|
|
|
itstool
|
|
|
|
libxslt
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
# TODO: add libenca, libosinfo
|
|
|
|
buildInputs = [
|
|
|
|
bzip2
|
|
|
|
dbus
|
|
|
|
evolution-data-server
|
|
|
|
exempi
|
|
|
|
giflib
|
|
|
|
glib
|
|
|
|
gexiv2
|
|
|
|
totem-pl-parser
|
|
|
|
tracker
|
|
|
|
gst_all_1.gst-plugins-base
|
2022-06-16 17:23:12 +00:00
|
|
|
gst_all_1.gst-plugins-good
|
|
|
|
gst_all_1.gst-plugins-bad
|
|
|
|
gst_all_1.gst-plugins-ugly
|
2020-04-24 23:36:52 +00:00
|
|
|
gst_all_1.gstreamer
|
2022-06-16 17:23:12 +00:00
|
|
|
gst_all_1.gst-libav
|
2020-04-24 23:36:52 +00:00
|
|
|
icu
|
|
|
|
json-glib
|
|
|
|
libcue
|
|
|
|
libexif
|
|
|
|
libgsf
|
|
|
|
libgxps
|
|
|
|
libiptcdata
|
|
|
|
libjpeg
|
|
|
|
libosinfo
|
|
|
|
libpng
|
|
|
|
libseccomp
|
|
|
|
libsoup
|
|
|
|
libtiff
|
|
|
|
libuuid
|
|
|
|
libxml2
|
2020-11-12 09:05:59 +00:00
|
|
|
networkmanager
|
2020-04-24 23:36:52 +00:00
|
|
|
poppler
|
2020-11-12 09:05:59 +00:00
|
|
|
systemd
|
2020-04-24 23:36:52 +00:00
|
|
|
taglib
|
|
|
|
upower
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
# TODO: tests do not like our sandbox
|
|
|
|
"-Dfunctional_tests=false"
|
2021-08-08 23:34:03 +00:00
|
|
|
|
|
|
|
# libgrss is unmaintained and has no new releases since 2015, and an open
|
|
|
|
# security issue since then. Despite a patch now being availab, we're opting
|
|
|
|
# to be safe due to the general state of the project
|
|
|
|
"-Dminer_rss=false"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
glib-compile-schemas "$out/share/glib-2.0/schemas"
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Tracker";
|
|
|
|
description = "Desktop-neutral user information store, search tool and indexer";
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|