2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, intltool, fetchurl, pkgconfig
|
2017-07-24 05:24:11 +01:00
|
|
|
, bash, gtk3, glib, wrapGAppsHook
|
2016-09-18 20:35:23 +01:00
|
|
|
, itstool, gnome3, librsvg, gdk_pixbuf, libxml2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gnome-system-log-3.9.90";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-system-log/3.9/${name}.tar.xz";
|
|
|
|
sha256 = "9eeb51982d347aa7b33703031e2c1d8084201374665425cd62199649b29a5411";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard ];
|
2016-09-18 20:35:23 +01:00
|
|
|
propagatedBuildInputs = [ gdk_pixbuf gnome3.defaultIconTheme librsvg ];
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ bash gtk3 glib intltool itstool
|
2018-02-25 02:23:58 +00:00
|
|
|
gnome3.gsettings-desktop-schemas wrapGAppsHook libxml2 ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
preFixup = ''
|
2017-07-24 05:24:11 +01:00
|
|
|
gappsWrapperArgs+=(
|
2018-02-25 02:23:58 +00:00
|
|
|
--prefix XDG_DATA_DIRS : "${gtk3.out}/share:${gnome3.gnome-themes-standard}/share"
|
2017-07-24 05:24:11 +01:00
|
|
|
)
|
2016-09-18 20:35:23 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://help.gnome.org/users/gnome-system-log/3.9/;
|
|
|
|
description = "Graphical, menu-driven viewer that you can use to view and monitor your system logs";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|