Unverified Commit 3ea0bebd authored by Bobby Rong's avatar Bobby Rong
Browse files
parent 4e6f36cc
Loading
Loading
Loading
Loading
+8 −15
Original line number Diff line number Diff line
{ lib, stdenv
{ stdenv
, lib
, fetchurl
, fetchpatch
, meson
, ninja
, pkg-config
@@ -10,6 +10,7 @@
, wrapGAppsHook
, gettext
, itstool
, libhandy
, libxml2
, libxslt
, docbook_xsl
@@ -21,21 +22,13 @@

stdenv.mkDerivation rec {
  pname = "gnome-logs";
  version = "3.36.0";
  version = "42.0";

  src = fetchurl {
    url = "mirror://gnome/sources/gnome-logs/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
    sha256 = "0w1nfdxbv3f0wnhmdy21ydvr4swfc108hypda561p7l9lrhnnxj4";
    url = "mirror://gnome/sources/gnome-logs/${lib.versions.major version}/${pname}-${version}.tar.xz";
    sha256 = "TV5FFp1r9DkC16npoHk8kW65LaumuoWzXI629nLNq9c=";
  };

  patches = [
    # https://gitlab.gnome.org/GNOME/gnome-logs/-/issues/52
    (fetchpatch {
      url = "https://gitlab.gnome.org/GNOME/gnome-logs/-/commit/b42defceefc775220b525f665a3b662ab9593b81.patch";
      sha256 = "1s0zscmhwy7r0xff17wh8ik8x9xw1vrkipw5vl5i770bxnljps8n";
    })
  ];

  nativeBuildInputs = [
    python3
    meson
@@ -53,9 +46,9 @@ stdenv.mkDerivation rec {
  buildInputs = [
    glib
    gtk3
    libhandy
    systemd
    gsettings-desktop-schemas
    gnome.adwaita-icon-theme
  ];

  mesonFlags = [
@@ -80,7 +73,7 @@ stdenv.mkDerivation rec {
    homepage = "https://wiki.gnome.org/Apps/Logs";
    description = "A log viewer for the systemd journal";
    maintainers = teams.gnome.members;
    license = licenses.gpl3;
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
  };
}