2020-05-16 12:30:39 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
2020-08-17 09:59:37 +01:00
|
|
|
, fetchpatch
|
2020-05-16 12:30:39 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, gnome3
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gettext
|
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
|
|
|
, docbook_xsl
|
|
|
|
, docbook_xml_dtd_43
|
|
|
|
, systemd
|
|
|
|
, python3
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
}:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gnome-logs";
|
2020-05-16 10:35:53 +01:00
|
|
|
version = "3.36.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://gnome/sources/gnome-logs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-06-02 21:44:52 +01:00
|
|
|
sha256 = "0w1nfdxbv3f0wnhmdy21ydvr4swfc108hypda561p7l9lrhnnxj4";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2020-08-17 09:59:37 +01:00
|
|
|
patches = [
|
|
|
|
# https://gitlab.gnome.org/GNOME/gnome-logs/-/issues/52
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://gitlab.gnome.org/GNOME/gnome-logs/-/commit/b42defceefc775220b525f665a3b662ab9593b81.patch";
|
|
|
|
sha256 = "1s0zscmhwy7r0xff17wh8ik8x9xw1vrkipw5vl5i770bxnljps8n";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2018-07-05 23:44:49 +01:00
|
|
|
nativeBuildInputs = [
|
2018-09-05 01:46:47 +01:00
|
|
|
python3
|
2020-05-16 12:30:39 +01:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
wrapGAppsHook
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
libxslt
|
|
|
|
docbook_xsl
|
|
|
|
docbook_xml_dtd_43
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
systemd
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Dman=true"
|
2018-07-05 23:44:49 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
2018-03-15 00:14:52 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-logs";
|
|
|
|
attrPath = "gnome3.gnome-logs";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Logs";
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "A log viewer for the systemd journal";
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|