Files
nixpkgs/pkgs/by-name/en/enter-tex/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

87 lines
1.6 KiB
Nix

{
stdenv,
lib,
fetchFromGitLab,
desktop-file-utils,
docbook-xsl-nons,
gettext,
gobject-introspection,
gtk-doc,
itstool,
meson,
ninja,
pkg-config,
vala,
wrapGAppsHook3,
dconf,
glib,
gsettings-desktop-schemas,
gspell,
libgedit-amtk,
libgedit-gtksourceview,
libgedit-tepl,
libgee,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "enter-tex";
version = "3.48.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
group = "World";
owner = "gedit";
repo = "enter-tex";
tag = finalAttrs.version;
hash = "sha256-OnkP4E1kNWuE9k7SQ/ujnxnFgVyAqIhqHAw04ZA0Tno=";
};
nativeBuildInputs = [
desktop-file-utils
docbook-xsl-nons
gettext
gobject-introspection
gtk-doc
itstool
meson
ninja
pkg-config
vala
wrapGAppsHook3
];
buildInputs = [
dconf
glib
gsettings-desktop-schemas
gspell
libgedit-amtk
libgedit-gtksourceview
libgedit-tepl
libgee
];
preBuild = ''
# Workaround the use case of C code mixed with Vala code.
# https://gitlab.gnome.org/World/gedit/enter-tex/-/blob/3.48.0/docs/more-information.md#install-procedure
ninja src/gtex/Gtex-1.gir
'';
doCheck = true;
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://gitlab.gnome.org/World/gedit/enter-tex";
description = "LaTeX editor for the GNOME desktop";
maintainers = with maintainers; [
manveru
bobby285271
];
license = licenses.gpl3Plus;
platforms = platforms.linux;
mainProgram = "enter-tex";
};
})