gnome3.gnome-system-log: clean up

This commit is contained in:
Jan Tojnar 2018-03-22 20:07:09 +01:00
parent e059d22888
commit 3b3e059dac
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,34 +1,31 @@
{ stdenv, intltool, fetchurl, pkgconfig { stdenv, intltool, fetchurl, pkgconfig
, bash, gtk3, glib, wrapGAppsHook , gtk3, glib, wrapGAppsHook
, itstool, gnome3, librsvg, gdk_pixbuf, libxml2 }: , itstool, gnome3, libxml2 }:
stdenv.mkDerivation rec { let
name = "gnome-system-log-3.9.90"; pname = "gnome-system-log";
version = "3.9.90";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-system-log/3.9/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "9eeb51982d347aa7b33703031e2c1d8084201374665425cd62199649b29a5411"; sha256 = "9eeb51982d347aa7b33703031e2c1d8084201374665425cd62199649b29a5411";
}; };
doCheck = true; doCheck = true;
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0"; nativeBuildInputs = [ pkgconfig intltool itstool wrapGAppsHook libxml2 ];
buildInputs = [ gtk3 glib gnome3.gsettings-desktop-schemas gnome3.defaultIconTheme ];
propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard ]; passthru = {
propagatedBuildInputs = [ gdk_pixbuf gnome3.defaultIconTheme librsvg ]; updateScript = gnome3.updateScript {
packageName = pname;
nativeBuildInputs = [ pkgconfig ]; attrPath = "gnome3.${pname}";
buildInputs = [ bash gtk3 glib intltool itstool };
gnome3.gsettings-desktop-schemas wrapGAppsHook libxml2 ]; };
preFixup = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "${gtk3.out}/share:${gnome3.gnome-themes-standard}/share"
)
'';
meta = with stdenv.lib; { 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"; description = "Graphical, menu-driven viewer that you can use to view and monitor your system logs";
maintainers = gnome3.maintainers; maintainers = gnome3.maintainers;
license = licenses.gpl2; license = licenses.gpl2;