2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, wrapGAppsHook, gsettings-desktop-schemas, gspell, gtksourceview4, libgee
|
2021-01-19 06:50:56 +00:00
|
|
|
, tepl, amtk, gnome3, glib, pkg-config, intltool, itstool, libxml2 }:
|
2018-06-21 12:08:26 +01:00
|
|
|
let
|
2020-10-11 08:06:45 +01:00
|
|
|
version = "3.38.0";
|
2018-06-21 12:08:26 +01:00
|
|
|
pname = "gnome-latex";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 13:21:58 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-10-11 08:06:45 +01:00
|
|
|
sha256 = "0xqd49pgi82dygqnxj08i1v22b0vwwhx3zvdinhrx4jny339yam8";
|
2018-06-21 12:08:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
|
|
configureFlags = ["--disable-dconf-migration"];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2018-06-21 12:08:26 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
itstool
|
|
|
|
intltool
|
|
|
|
];
|
|
|
|
|
2019-02-13 21:47:50 +00:00
|
|
|
buildInputs = [
|
2018-06-21 12:08:26 +01:00
|
|
|
amtk
|
2019-02-13 21:47:50 +00:00
|
|
|
gnome3.adwaita-icon-theme
|
2018-06-21 12:08:26 +01:00
|
|
|
glib
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gspell
|
|
|
|
gtksourceview4
|
|
|
|
libgee
|
|
|
|
libxml2
|
|
|
|
tepl
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
passthru.updateScript = gnome3.updateScript { packageName = pname; };
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/GNOME-LaTeX";
|
2018-06-21 12:08:26 +01:00
|
|
|
description = "A LaTeX editor for the GNOME desktop";
|
|
|
|
maintainers = [ maintainers.manveru ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|