gnu: Add texlive-doi.
* gnu/packages/tex.scm (texlive-doi): New variable. (texlive-latex-doi): Deprecate package.master
parent
a72058b950
commit
fb01a2965a
|
@ -4100,32 +4100,15 @@ space-stripped macros.")
|
||||||
to something that's not a float.")
|
to something that's not a float.")
|
||||||
(license license:lppl)))
|
(license license:lppl)))
|
||||||
|
|
||||||
(define-public texlive-latex-doi
|
(define-public texlive-doi
|
||||||
(package
|
(package
|
||||||
(name "texlive-latex-doi")
|
(inherit (simple-texlive-package
|
||||||
(version (number->string %texlive-revision))
|
"texlive-doi"
|
||||||
(source (origin
|
(list "/doc/latex/doi/README"
|
||||||
(method svn-fetch)
|
"/tex/latex/doi/")
|
||||||
(uri (svn-reference
|
(base32
|
||||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
"17lnnhfmb8g4nh4fnyc9616h8xg3vjrzmlvfmlfqwwlfpma9xnnw")
|
||||||
%texlive-tag "/Master/texmf-dist/"
|
#:trivial? #t))
|
||||||
"/tex/latex/doi"))
|
|
||||||
(revision %texlive-revision)))
|
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0378rdmrgr2lzbfi4qqy4dfpj5im20diyd8z8b9m4mlg05r7wgnb"))))
|
|
||||||
(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/doi")))
|
|
||||||
(mkdir-p target)
|
|
||||||
(copy-recursively (assoc-ref %build-inputs "source") target)
|
|
||||||
#t))))
|
|
||||||
(home-page "https://www.ctan.org/pkg/doi")
|
(home-page "https://www.ctan.org/pkg/doi")
|
||||||
(synopsis "Create correct hyperlinks for DOI numbers")
|
(synopsis "Create correct hyperlinks for DOI numbers")
|
||||||
(description
|
(description
|
||||||
|
@ -4138,6 +4121,9 @@ hyperlink to the target of the DOI.")
|
||||||
;; Any version of the LPPL.
|
;; Any version of the LPPL.
|
||||||
(license license:lppl1.3+)))
|
(license license:lppl1.3+)))
|
||||||
|
|
||||||
|
(define-public texlive-latex-doi
|
||||||
|
(deprecated-package "texlive-latex-doi" texlive-doi))
|
||||||
|
|
||||||
(define-public texlive-latex-etoolbox
|
(define-public texlive-latex-etoolbox
|
||||||
(package
|
(package
|
||||||
(name "texlive-latex-etoolbox")
|
(name "texlive-latex-etoolbox")
|
||||||
|
|
Reference in New Issue