2022-05-04 13:16:09 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2021-04-25 22:46:26 +00:00
|
|
|
, fetchurl
|
|
|
|
, autoreconfHook
|
|
|
|
, gtk-doc
|
|
|
|
, vala
|
|
|
|
, gobject-introspection
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, gspell
|
|
|
|
, gtksourceview4
|
|
|
|
, libgee
|
|
|
|
, tepl
|
|
|
|
, amtk
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2021-04-25 22:46:26 +00:00
|
|
|
, glib
|
|
|
|
, pkg-config
|
2022-07-23 15:46:59 +00:00
|
|
|
, gettext
|
2021-04-25 22:46:26 +00:00
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-07-23 15:46:59 +00:00
|
|
|
version = "3.41.2";
|
2018-06-21 11:08:26 +00:00
|
|
|
pname = "gnome-latex";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 13:21:58 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2022-07-23 15:46:59 +00:00
|
|
|
sha256 = "8xDwoUUEmfDP92y5+cXWaZGpUGH6s9bmcMSlZHOF1jM=";
|
2018-06-21 11:08:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2021-04-25 22:46:26 +00:00
|
|
|
autoreconfHook
|
|
|
|
gtk-doc
|
|
|
|
vala
|
|
|
|
gobject-introspection
|
2018-06-21 11:08:26 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
itstool
|
2022-07-23 15:46:59 +00:00
|
|
|
gettext
|
2018-06-21 11:08:26 +00:00
|
|
|
];
|
|
|
|
|
2019-02-13 21:47:50 +00:00
|
|
|
buildInputs = [
|
2018-06-21 11:08:26 +00:00
|
|
|
amtk
|
2021-05-07 21:18:14 +00:00
|
|
|
gnome.adwaita-icon-theme
|
2018-06-21 11:08:26 +00:00
|
|
|
glib
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gspell
|
|
|
|
gtksourceview4
|
|
|
|
libgee
|
|
|
|
libxml2
|
|
|
|
tepl
|
|
|
|
];
|
|
|
|
|
2021-04-25 22:46:26 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-dconf-migration"
|
|
|
|
];
|
|
|
|
|
2018-06-21 11:08:26 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-04-25 22:46:26 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
2021-05-07 21:18:14 +00:00
|
|
|
passthru.updateScript = gnome.updateScript {
|
2021-03-20 23:57:24 +00:00
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "odd-unstable";
|
|
|
|
};
|
2018-06-21 11:08:26 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/GNOME-LaTeX";
|
2018-06-21 11:08:26 +00:00
|
|
|
description = "A LaTeX editor for the GNOME desktop";
|
|
|
|
maintainers = [ maintainers.manveru ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|