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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

76 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv
, lib
, fetchurl
, autoreconfHook
, gtk-doc
, vala
, gobject-introspection
, wrapGAppsHook
, gsettings-desktop-schemas
, gspell
, gtksourceview4
, libgee
, tepl
, amtk
, gnome
, glib
, pkg-config
, gettext
, itstool
, libxml2
}:
stdenv.mkDerivation rec {
version = "3.44.0";
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";
sha256 = "iL1TQL0ox+0Bx5ZqOgBzK72QJ3PfWsZZvmrRGAap50Q=";
2018-06-21 11:08:26 +00:00
};
nativeBuildInputs = [
pkg-config
autoreconfHook
gtk-doc
vala
gobject-introspection
2018-06-21 11:08:26 +00:00
wrapGAppsHook
itstool
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
gnome.adwaita-icon-theme
2018-06-21 11:08:26 +00:00
glib
gsettings-desktop-schemas
gspell
gtksourceview4
libgee
libxml2
tepl
];
configureFlags = [
"--disable-dconf-migration"
];
2018-06-21 11:08:26 +00:00
doCheck = true;
env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
passthru.updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "odd-unstable";
};
2018-06-21 11:08:26 +00:00
meta = with lib; {
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;
};
}