2022-05-18 14:49:53 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2021-05-20 23:08:51 +00:00
|
|
|
, fetchurl
|
|
|
|
, autoreconfHook
|
|
|
|
, gtk-doc
|
|
|
|
, vala
|
|
|
|
, gobject-introspection
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, gspell
|
|
|
|
, gtksourceview4
|
|
|
|
, libgee
|
|
|
|
, tepl
|
|
|
|
, amtk
|
|
|
|
, gnome
|
|
|
|
, glib
|
|
|
|
, pkg-config
|
2022-10-21 18:38:19 +00:00
|
|
|
, gettext
|
2021-05-20 23:08:51 +00:00
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "3.44.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gnome-latex";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-17 00:15:33 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "iL1TQL0ox+0Bx5ZqOgBzK72QJ3PfWsZZvmrRGAap50Q=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2021-05-20 23:08:51 +00:00
|
|
|
autoreconfHook
|
|
|
|
gtk-doc
|
|
|
|
vala
|
|
|
|
gobject-introspection
|
2020-04-24 23:36:52 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
itstool
|
2022-10-21 18:38:19 +00:00
|
|
|
gettext
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
amtk
|
2021-05-20 23:08:51 +00:00
|
|
|
gnome.adwaita-icon-theme
|
2020-04-24 23:36:52 +00:00
|
|
|
glib
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gspell
|
|
|
|
gtksourceview4
|
|
|
|
libgee
|
|
|
|
libxml2
|
|
|
|
tepl
|
|
|
|
];
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-dconf-migration"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
passthru.updateScript = gnome.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "odd-unstable";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/GNOME-LaTeX";
|
|
|
|
description = "A LaTeX editor for the GNOME desktop";
|
|
|
|
maintainers = [ maintainers.manveru ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|