aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-01-10 13:54:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-01-11 10:18:54 +0100
commit4d2c861dfbd49f0e1619fda5dbf18e4cb5bca1d0 (patch)
tree710b48cb3ad4308d9ba10e288f6407b72a6efcf9 /gnu/packages/tex.scm
parent3189b1360c8828859d06d9e16e7b4d8961d8fbea (diff)
downloadguix-4d2c861dfbd49f0e1619fda5dbf18e4cb5bca1d0.tar
guix-4d2c861dfbd49f0e1619fda5dbf18e4cb5bca1d0.tar.gz
gnu: texlive-lualibs: Take sources from TeX Live SVN.
* gnu/packages/tex.scm (texlive-luatex-lualibs): Deprecate this variable... (texlive-lualibs): ...in favor of this new variable. [source]: Take source code from TeX Live SVN because it must match the rest of the LuaTeX distribution.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm44
1 files changed, 16 insertions, 28 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ea53c20b2b..ebc11af954 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3680,35 +3680,21 @@ releases. The bundle consists of a Lua script to run the tasks and a
@code{.tex} file which provides the testing environment.")
(license license:lppl1.3c+))))
-;; The SVN directory contains little more than a dtx file that generates three
-;; of the many lua files that should be installed as part of this package.
-;; This is why we take the release from GitHub instead.
-(define-public texlive-luatex-lualibs
+(define-public texlive-lualibs
(package
- (name "texlive-luatex-lualibs")
- (version "2.5")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/lualatex/lualibs/"
- "releases/download/v"
- version "/lualibs.zip"))
- (file-name (string-append name "-" version ".zip"))
- (sha256
- (base32
- "1xx9blvrmx9hyhrl345lpai9m6xxnw997261a1ahn1bm5r2j5fqy"))))
- (build-system gnu-build-system)
- (arguments
- `(#:make-flags
- (list (string-append "DESTDIR="
- (assoc-ref %outputs "out")
- "/share/texmf-dist"))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure))))
- (native-inputs
- (list texlive-bin unzip zip))
- (home-page "https://github.com/lualatex/lualibs")
- (synopsis "Lua modules for general programming (in the (La)TeX world)")
+ (inherit
+ (simple-texlive-package
+ "texlive-lualibs"
+ (list "doc/luatex/lualibs/"
+ "source/luatex/lualibs/"
+ "tex/luatex/lualibs/")
+ (base32 "0gf60vj9y75a7dlrmpbyqgsa00s1717r6if3lm5ldm41i9fm8ywz")
+ ;; The source dtx file only unpacks three files. This is why we
+ ;; install all the files as they are, because there is no clear
+ ;; way to generate them all.
+ #:trivial? #true))
+ (home-page "https://ctan.org/macros/luatex/generic/lualibs")
+ (synopsis "Additional Lua functions for LuaTeX macro programmers")
(description
"Lualibs is a collection of Lua modules useful for general programming.
The bundle is based on Lua modules shipped with ConTeXt, and made available in
@@ -3716,6 +3702,8 @@ this bundle for use independent of ConTeXt.")
;; GPL version 2 only
(license license:gpl2)))
+(define-deprecated-package texlive-luatex-lualibs texlive-lualibs)
+
(define-public texlive-lua-alt-getopt
(package
(inherit