gnu: Add texlive-url.

* gnu/packages/tex.scm (texlive-url): New variable.
(texlive-latex-url): Deprecate package.
This commit is contained in:
Ricardo Wurmus 2019-07-14 22:56:54 +02:00
parent 152950d494
commit c97d1a9123
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 11 additions and 25 deletions

View File

@ -3003,32 +3003,15 @@ rawfonts, showkeys, somedefs, tabularx, theorem, trace, varioref, verbatim,
xr, and xspace.") xr, and xspace.")
(license license:lppl1.3+))) (license license:lppl1.3+)))
(define-public texlive-latex-url (define-public texlive-url
(package (package
(name "texlive-latex-url") (inherit (simple-texlive-package
(version (number->string %texlive-revision)) "texlive-url"
(source (origin (list "/doc/latex/url/"
(method svn-fetch) "/tex/latex/url/")
(uri (svn-reference (base32
(url (string-append "svn://www.tug.org/texlive/tags/" "184m40wgnx939ky2hbxnj0v9aak023ldrhgffp0lgyk9wdqpxlqg")
%texlive-tag "/Master/texmf-dist/" #:trivial? #t))
"/tex/latex/url"))
(revision %texlive-revision)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"184s2543cwia5l7iibhlkl1ffbncfhjpv5p56zq0c15by5sghlac"))))
(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/latex/url")))
(mkdir-p target)
(copy-recursively (assoc-ref %build-inputs "source") target)
#t))))
(home-page "https://www.ctan.org/pkg/url") (home-page "https://www.ctan.org/pkg/url")
(synopsis "Verbatim with URL-sensitive line breaks") (synopsis "Verbatim with URL-sensitive line breaks")
(description "The command @code{\\url} is a form of verbatim command that (description "The command @code{\\url} is a form of verbatim command that
@ -3043,6 +3026,9 @@ of file names.")
;; the latest version is 1.3c. ;; the latest version is 1.3c.
(license license:lppl1.3c+))) (license license:lppl1.3c+)))
(define-public texlive-latex-url
(deprecated-package "texlive-latex-url" texlive-url))
(define-public texlive-latex-l3kernel (define-public texlive-latex-l3kernel
(package (package
(name "texlive-latex-l3kernel") (name "texlive-latex-l3kernel")