2019-09-02 09:44:54 -07:00
|
|
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, gnome3, glib, gtk3, wrapGAppsHook
|
2019-04-16 17:38:26 -07:00
|
|
|
, gettext, itstool, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_43, systemd, python3, gsettings-desktop-schemas }:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "gnome-logs";
|
2019-09-02 09:44:54 -07:00
|
|
|
version = "3.34.0";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "mirror://gnome/sources/gnome-logs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-09-02 09:44:54 -07:00
|
|
|
sha256 = "16jfwg912asirrdmipf6wh7zr5zrww3nyhf99mi230y8hmqazx0m";
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
|
|
|
|
2018-07-05 15:44:49 -07:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dman=true"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2018-09-04 17:46:47 -07:00
|
|
|
python3
|
2019-09-02 09:44:54 -07:00
|
|
|
meson ninja pkgconfig wrapGAppsHook gettext itstool
|
2018-07-05 15:44:49 -07:00
|
|
|
libxml2 libxslt docbook_xsl docbook_xml_dtd_43
|
|
|
|
];
|
2019-04-16 17:38:26 -07:00
|
|
|
buildInputs = [ glib gtk3 systemd gsettings-desktop-schemas gnome3.adwaita-icon-theme ];
|
2018-07-05 15:44:49 -07:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
2018-03-14 17:14:52 -07:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-logs";
|
|
|
|
attrPath = "gnome3.gnome-logs";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Logs;
|
|
|
|
description = "A log viewer for the systemd journal";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|