Unverified Commit d062f067 authored by Bobby Rong's avatar Bobby Rong
Browse files

gnome-latex: adapt for libgedit-tepl rename

parent 09480261
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchurl
, fetchpatch
, autoreconfHook
, gtk-doc
, vala
@@ -8,7 +9,6 @@
, wrapGAppsHook
, gsettings-desktop-schemas
, gspell
, libgedit-amtk
, libgedit-gtksourceview
, libgedit-tepl
, libgee
@@ -29,6 +29,14 @@ stdenv.mkDerivation rec {
    sha256 = "1nVVY5sqFaiuvVTzNTVORP40MxQ648s8ynqOJvgRKto=";
  };

  patches = [
    # Adapt for Tepl -> libgedit-tepl rename
    (fetchpatch {
      url = "https://gitlab.gnome.org/swilmet/gnome-latex/-/commit/41e532c427f43a5eed9081766963d6e29a9975a1.patch";
      hash = "sha256-gu8o/er4mP92dE5gWg9lGx5JwTHB8ytk3EMNlwlIpq4=";
    })
  ];

  nativeBuildInputs = [
    pkg-config
    autoreconfHook
@@ -45,7 +53,6 @@ stdenv.mkDerivation rec {
    glib
    gsettings-desktop-schemas
    gspell
    libgedit-amtk
    libgedit-gtksourceview
    libgedit-tepl
    libgee
@@ -66,7 +73,7 @@ stdenv.mkDerivation rec {
  };

  meta = with lib; {
    homepage = "https://wiki.gnome.org/Apps/GNOME-LaTeX";
    homepage = "https://gitlab.gnome.org/swilmet/gnome-latex";
    description = "A LaTeX editor for the GNOME desktop";
    maintainers = with maintainers; [ manveru bobby285271 ];
    license = licenses.gpl3Plus;