nixpkgs/pkgs/applications/editors/gnome-latex/default.nix

48 lines
1.1 KiB
Nix
Raw Normal View History

2018-06-21 14:08:26 +03:00
{ stdenv, fetchurl, wrapGAppsHook
, tepl, amtk, gnome3, glib, pkgconfig, intltool, itstool, libxml2 }:
let
2018-07-31 12:37:56 +03:00
version = "3.30.1";
2018-06-21 14:08:26 +03: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";
2018-07-31 12:37:56 +03:00
sha256 = "0yvkp311ikmiypzj2q6ypvyw5migxiqp8lwhyl3qq6mk6p0x66w8";
2018-06-21 14:08:26 +03:00
};
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;
};
}