48 stdenv.mkDerivation (finalAttrs: {
49 pname = "tracker-miners";
53 url = "mirror://gnome/sources/tracker-miners/${lib.versions.majorMinor finalAttrs.version}/tracker-miners-${finalAttrs.version}.tar.xz";
54 hash = "sha256-50OIFUtcGXtLfuQvDc6MX7vd1NNhCT74jU+zA+M9pf4=";
58 ./tracker-landlock-nix-store-permission.patch
74 ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
78 # TODO: add libenca, libosinfo
87 gst_all_1.gst-plugins-base
88 gst_all_1.gst-plugins-good
89 gst_all_1.gst-plugins-bad
90 gst_all_1.gst-plugins-ugly
108 ] ++ lib.optionals stdenv.hostPlatform.isLinux [
113 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
118 # TODO: tests do not like our sandbox
119 "-Dfunctional_tests=false"
121 # libgrss is unmaintained and has no new releases since 2015, and an open
122 # security issue since then. Despite a patch now being availab, we're opting
123 # to be safe due to the general state of the project
125 ] ++ lib.optionals (!stdenv.hostPlatform.isLinux) [
126 "-Dbattery_detection=none"
127 "-Dnetwork_manager=disabled"
128 "-Dsystemd_user_services=false"
132 glib-compile-schemas "$out/share/glib-2.0/schemas"
136 updateScript = gnome.updateScript {
137 packageName = "tracker-miners";
142 homepage = "https://gitlab.gnome.org/GNOME/tracker-miners";
143 description = "Desktop-neutral user information store, search tool and indexer";
144 maintainers = lib.teams.gnome.members;
145 license = lib.licenses.gpl2Plus;
146 platforms = lib.platforms.unix;