2019-02-13 21:47:50 +00:00
|
|
|
{ stdenv, fetchurl, wrapGAppsHook, gsettings-desktop-schemas, gspell, gtksourceview4, libgee
|
2018-06-21 12:08:26 +01:00
|
|
|
, tepl, amtk, gnome3, glib, pkgconfig, intltool, itstool, libxml2 }:
|
|
|
|
let
|
2020-05-05 12:43:01 +01:00
|
|
|
version = "3.36.0";
|
2018-06-21 12:08:26 +01:00
|
|
|
pname = "gnome-latex";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-05-05 12:43:01 +01:00
|
|
|
sha256 = "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn";
|
2018-06-21 12:08:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
|
|
configureFlags = ["--disable-dconf-migration"];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
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; };
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
}
|