tracker: format with nixpkgs-fmt
This commit is contained in:
parent
0df3c2dfe2
commit
f220831068
@ -1,8 +1,34 @@
|
|||||||
{ stdenv, fetchurl, gettext, meson, ninja, pkgconfig, gobject-introspection, python3
|
{ stdenv
|
||||||
, gtk-doc, docbook_xsl, docbook_xml_dtd_412, docbook_xml_dtd_43, glibcLocales
|
, fetchurl
|
||||||
, libxml2, upower, glib, wrapGAppsHook, vala, sqlite, libxslt, libstemmer
|
, gettext
|
||||||
, gnome3, icu, libuuid, networkmanager, libsoup, json-glib, systemd, dbus
|
, meson
|
||||||
, substituteAll }:
|
, 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
|
||||||
|
, systemd
|
||||||
|
, dbus
|
||||||
|
, substituteAll
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tracker";
|
pname = "tracker";
|
||||||
@ -15,16 +41,43 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "V3lSJEq5d8eLC4ji9jxBl+q6FuTWa/9pK39YmT4GUW0=";
|
sha256 = "V3lSJEq5d8eLC4ji9jxBl+q6FuTWa/9pK39YmT4GUW0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(substituteAll {
|
||||||
|
src = ./fix-paths.patch;
|
||||||
|
gdbus = "${glib.bin}/bin/gdbus";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja vala pkgconfig gettext libxslt wrapGAppsHook gobject-introspection
|
meson
|
||||||
gtk-doc docbook_xsl docbook_xml_dtd_412 docbook_xml_dtd_43 glibcLocales
|
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
|
python3 # for data-generators
|
||||||
systemd # used for checks to install systemd user service
|
systemd # used for checks to install systemd user service
|
||||||
dbus # used for checks and pkgconfig to install dbus service/s
|
dbus # used for checks and pkgconfig to install dbus service/s
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib libxml2 sqlite upower icu networkmanager libsoup libuuid json-glib libstemmer
|
glib
|
||||||
|
libxml2
|
||||||
|
sqlite
|
||||||
|
upower
|
||||||
|
icu
|
||||||
|
networkmanager
|
||||||
|
libsoup
|
||||||
|
libuuid
|
||||||
|
json-glib
|
||||||
|
libstemmer
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
@ -33,13 +86,6 @@ stdenv.mkDerivation rec {
|
|||||||
"-Ddocs=true"
|
"-Ddocs=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
(substituteAll {
|
|
||||||
src = ./fix-paths.patch;
|
|
||||||
gdbus = "${glib.bin}/bin/gdbus";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs utils/g-ir-merge/g-ir-merge
|
patchShebangs utils/g-ir-merge/g-ir-merge
|
||||||
patchShebangs utils/data-generators/cc/generate
|
patchShebangs utils/data-generators/cc/generate
|
||||||
@ -60,7 +106,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://wiki.gnome.org/Projects/Tracker";
|
homepage = "https://wiki.gnome.org/Projects/Tracker";
|
||||||
description = "Desktop-neutral user information store, search tool and indexer";
|
description = "Desktop-neutral user information store, search tool and indexer";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user