nixpkgs/pkgs/desktops/gnome-3/apps/gnome-logs/default.nix
2018-03-05 06:06:08 +01:00

33 lines
960 B
Nix

{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
, intltool, itstool, libxml2, systemd }:
stdenv.mkDerivation rec {
name = "gnome-logs-${version}";
version = "3.26.3";
src = fetchurl {
url = "mirror://gnome/sources/gnome-logs/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "0cbzl38haz1m6y7gcbvvab0jcrva781izhp8xv2dzmma4xlzdw0k";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-logs"; attrPath = "gnome3.gnome-logs"; };
};
configureFlags = [ "--disable-tests" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
gtk3 wrapGAppsHook intltool itstool libxml2
systemd gnome3.gsettings-desktop-schemas gnome3.defaultIconTheme
];
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;
};
}