summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-06-25 13:56:12 +0200
committerGitHub <noreply@github.com>2018-06-25 13:56:12 +0200
commit0463c2020e065368fafcca95954ae32bbbdec2e0 (patch)
treede6a529a8e179f2fdd9fd5b70db661ee4a89c613 /pkgs/applications/editors
parent4a5ab6e9239fb62dbb6b943c7035cf7c503ca221 (diff)
parent6f831a7ab48607d6cf62684099e10443524c8b88 (diff)
downloadnixlib-0463c2020e065368fafcca95954ae32bbbdec2e0.tar
nixlib-0463c2020e065368fafcca95954ae32bbbdec2e0.tar.gz
nixlib-0463c2020e065368fafcca95954ae32bbbdec2e0.tar.bz2
nixlib-0463c2020e065368fafcca95954ae32bbbdec2e0.tar.lz
nixlib-0463c2020e065368fafcca95954ae32bbbdec2e0.tar.xz
nixlib-0463c2020e065368fafcca95954ae32bbbdec2e0.tar.zst
nixlib-0463c2020e065368fafcca95954ae32bbbdec2e0.zip
Merge pull request #42325 from manveru/add-gnome-latex
Gnome-latex: init at 3.28.1
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/gnome-latex/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/applications/editors/gnome-latex/default.nix b/pkgs/applications/editors/gnome-latex/default.nix
new file mode 100644
index 000000000000..4657d0d10ad8
--- /dev/null
+++ b/pkgs/applications/editors/gnome-latex/default.nix
@@ -0,0 +1,47 @@
+{ stdenv, fetchurl, wrapGAppsHook
+, tepl, amtk, gnome3, glib, pkgconfig, intltool, itstool, libxml2 }:
+let
+  version = "3.28.1";
+  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";
+    sha256 = "1z481izrx057wraphnr82kxnpmmi8nvl7jswyylzm22kfs0mw402";
+  };
+
+  NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
+  configureFlags = ["--disable-dconf-migration"];
+
+  nativeBuildInputs = [
+    pkgconfig
+    wrapGAppsHook
+    itstool
+    intltool
+  ];
+
+  buildInputs = with gnome3; [
+    amtk
+    defaultIconTheme
+    glib
+    gsettings-desktop-schemas
+    gspell
+    gtksourceview4
+    libgee
+    libxml2
+    tepl
+  ];
+
+  doCheck = true;
+
+  passthru.updateScript = gnome3.updateScript { packageName = pname; };
+
+  meta = with stdenv.lib; {
+    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;
+  };
+}