gnu: Add texlive-tex-plain.

* gnu/packages/tex.scm (texlive-tex-plain): New variable.
This commit is contained in:
Ricardo Wurmus 2017-06-09 09:26:00 +02:00
parent a00d593315
commit 566e95f7a8
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -637,6 +637,41 @@ (define-public texlive-fonts-latex
symbol fonts.")
(license license:lppl1.2+)))
;; This provides etex.src which is needed to build various formats, including
;; luatex.fmt and pdflatex.fmt
(define-public texlive-tex-plain
(package
(name "texlive-tex-plain")
(version (number->string %texlive-revision))
(source (origin
(method svn-fetch)
(uri (svn-reference
(url (string-append "svn://www.tug.org/texlive/tags/"
%texlive-tag "/Master/texmf-dist/"
"/tex/plain"))
(revision %texlive-revision)))
(sha256
(base32
"1ifmbyl3ir8k0v1g25xjb5rcyy5vhj8a3fa2088nczga09hna5vn"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let ((target (string-append (assoc-ref %outputs "out")
"/share/texmf-dist/tex/plain")))
(mkdir-p target)
(copy-recursively (assoc-ref %build-inputs "source") target)
#t))))
(home-page "https://www.ctan.org/pkg/plain")
(synopsis "Plain TeX format and supporting files")
(description
"Contains files used to build the Plain TeX format, as described in the
TeXbook, together with various supporting files (some also discussed in the
book).")
(license license:knuth)))
(define texlive-texmf
(package
(name "texlive-texmf")