From c1fd80b1c95b0da1cec7fe5908753bdad4152fb1 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 14 May 2023 11:03:11 +0200 Subject: [PATCH] gnu: Add texlive-luatexbase. * gnu/packages/tex.scm (texlive-luatexbase): New variable. --- gnu/packages/tex.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index b5e52d95e6..4447c81f83 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -4260,6 +4260,33 @@ (define-public texlive-lua-alt-getopt in the same way as BSD/GNU @code{getopt_long(3)} functions do.") (license license:expat))) +(define-public texlive-luatexbase + (package + (name "texlive-luatexbase") + (version (number->string %texlive-revision)) + (source (texlive-origin + + name version + (list "doc/luatex/luatexbase/" + "source/luatex/luatexbase/" + "tex/luatex/luatexbase/") + (base32 + "1nz2k9czqdmn08v75qa2bwanvcvyp9jmqcgwaxcy4fy4mpbrn8ra"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (propagated-inputs + (list texlive-ctablestack)) + (home-page "https://ctan.org/pkg/luatexbase") + (synopsis "Basic resource management for LuaTeX code") + (description + "The LaTeX kernel builds in support for LuaTeX functionality, also +available as @file{ltluatex.tex} for users of plain TeX and those with older +LaTeX kernel implementations. This support is based on ideas taken from the +original @code{luatexbase} package, but there are interface differences. This +stub package provides a compatibility layer to allow existing packages to +upgrade smoothly to the new support structure.") + (license license:lppl1.3+))) + ;; TODO: We should be able to build this from the sources on Github with ;; texlive-l3build, but I haven't been able to get it to work. (define-public texlive-luaotfload