Archived
1
0
Fork 0

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.
This commit is contained in:
Ricardo Wurmus 2022-01-10 13:54:57 +01:00
parent 3189b1360c
commit 4d2c861dfb
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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.") @code{.tex} file which provides the testing environment.")
(license license:lppl1.3c+)))) (license license:lppl1.3c+))))
;; The SVN directory contains little more than a dtx file that generates three (define-public texlive-lualibs
;; 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
(package (package
(name "texlive-luatex-lualibs") (inherit
(version "2.5") (simple-texlive-package
(source (origin "texlive-lualibs"
(method url-fetch) (list "doc/luatex/lualibs/"
(uri (string-append "https://github.com/lualatex/lualibs/" "source/luatex/lualibs/"
"releases/download/v" "tex/luatex/lualibs/")
version "/lualibs.zip")) (base32 "0gf60vj9y75a7dlrmpbyqgsa00s1717r6if3lm5ldm41i9fm8ywz")
(file-name (string-append name "-" version ".zip")) ;; The source dtx file only unpacks three files. This is why we
(sha256 ;; install all the files as they are, because there is no clear
(base32 ;; way to generate them all.
"1xx9blvrmx9hyhrl345lpai9m6xxnw997261a1ahn1bm5r2j5fqy")))) #:trivial? #true))
(build-system gnu-build-system) (home-page "https://ctan.org/macros/luatex/generic/lualibs")
(arguments (synopsis "Additional Lua functions for LuaTeX macro programmers")
`(#: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)")
(description (description
"Lualibs is a collection of Lua modules useful for general programming. "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 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 ;; GPL version 2 only
(license license:gpl2))) (license license:gpl2)))
(define-deprecated-package texlive-luatex-lualibs texlive-lualibs)
(define-public texlive-lua-alt-getopt (define-public texlive-lua-alt-getopt
(package (package
(inherit (inherit