gnu: Add texlive-pstool.

* gnu/packages/tex.scm (texlive-pstool): New variable.
(texlive-latex-pstool): Deprecate package.
This commit is contained in:
Ricardo Wurmus 2019-07-14 23:05:48 +02:00
parent 1333198da8
commit 6090b6c474
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 11 additions and 25 deletions

View File

@ -3978,32 +3978,15 @@ package options. A specialized system for setting @code{PSTricks} keys is
provided by the @code{pst-xkey} package.") provided by the @code{pst-xkey} package.")
(license license:lppl1.3+))) (license license:lppl1.3+)))
(define-public texlive-latex-pstool (define-public texlive-pstool
(package (package
(name "texlive-latex-pstool") (inherit (simple-texlive-package
(version (number->string %texlive-revision)) "texlive-pstool"
(source (origin (list "/doc/latex/pstool/"
(method svn-fetch) "/tex/latex/pstool/")
(uri (svn-reference
(url (string-append "svn://www.tug.org/texlive/tags/"
%texlive-tag "/Master/texmf-dist/"
"/tex/latex/pstool"))
(revision %texlive-revision)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32 (base32
"1h816jain8c9nky75kk8pmmwj5b4yf9dpqvdvi2l6jhfj5iqkzr8")))) "12clzcw2cl7g2chr2phgmmiwxw4859cln1gbx1wgp8bl9iw590nc")
(build-system trivial-build-system) #:trivial? #t))
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let ((target (string-append (assoc-ref %outputs "out")
"/share/texmf-dist/tex/latex/pstool")))
(mkdir-p target)
(copy-recursively (assoc-ref %build-inputs "source") target)
#t))))
(propagated-inputs (propagated-inputs
`(("texlive-latex-bigfoot" ,texlive-latex-bigfoot) ; for suffix `(("texlive-latex-bigfoot" ,texlive-latex-bigfoot) ; for suffix
("texlive-latex-filemod" ,texlive-latex-filemod) ("texlive-latex-filemod" ,texlive-latex-filemod)
@ -4024,6 +4007,9 @@ drastically speeding up compilation time when only a single figure needs
re-processing.") re-processing.")
(license license:lppl))) (license license:lppl)))
(define-public texlive-latex-pstool
(deprecated-package "texlive-latex-pstool" texlive-pstool))
(define-public texlive-latex-seminar (define-public texlive-latex-seminar
(package (package
(name "texlive-latex-seminar") (name "texlive-latex-seminar")