1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

gnome3.tracker: 2.2.2 → 2.3.0

This commit is contained in:
Tor Hedin Brønner 2019-09-02 16:46:04 +00:00
parent 4a1a728dd5
commit 93ecc2a52f

View file

@ -1,37 +1,32 @@
{ stdenv, fetchurl, intltool, meson, ninja, pkgconfig, gobject-introspection, python3
{ stdenv, fetchurl, gettext, meson, ninja, pkgconfig, gobject-introspection, python3
, gtk-doc, docbook_xsl, docbook_xml_dtd_412, docbook_xml_dtd_43, glibcLocales
, libxml2, upower, glib, wrapGAppsHook, vala, sqlite, libxslt, libstemmer
, gnome3, icu, libuuid, networkmanager, libsoup, json-glib
, substituteAll}:
, gnome3, icu, libuuid, networkmanager, libsoup, json-glib, systemd
, substituteAll }:
let
stdenv.mkDerivation rec {
pname = "tracker";
version = "2.2.2";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "2.3.0";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1rp2c6k7ajcm553p9kpni87zgi9aplm3s01rl7pk575az5i399y6";
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0yxzqvjm3ij28p6g8jc4pd90yhhslmykcvi1cnyb069lm16m611c";
};
nativeBuildInputs = [
meson ninja vala pkgconfig intltool libxslt wrapGAppsHook gobject-introspection
meson ninja vala pkgconfig gettext libxslt wrapGAppsHook gobject-introspection
gtk-doc docbook_xsl docbook_xml_dtd_412 docbook_xml_dtd_43 glibcLocales
python3 # for data-generators
systemd # used for checks to install systemd user service
];
buildInputs = [
glib libxml2 sqlite upower icu networkmanager libsoup libuuid json-glib libstemmer
];
LC_ALL = "en_US.UTF-8";
mesonFlags = [
"-Ddbus_services=${placeholder "out"}/share/dbus-1/services"
"-Dsystemd_user_services=${placeholder "out"}/lib/systemd/user"
# TODO: figure out wrapping unit tests, some of them fail on missing gsettings-desktop-schemas
"-Dfunctional_tests=false"
"-Ddocs=true"