mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-16 16:08:04 -05:00
gnu: texlive-latex-hycolor: Rename to texlive-hycolor.
* gnu/packages/tex.scm (texlive-hycolor): New variable. (texlive-latex-hycolor): Deprecated alias. (texlive-hyperref): Use new name.
This commit is contained in:
parent
df8a042de8
commit
b47d8363f9
1 changed files with 39 additions and 15 deletions
|
@ -3322,21 +3322,45 @@ (define-public texlive-graphics
|
||||||
|
|
||||||
(define-deprecated-package texlive-latex-graphics texlive-graphics)
|
(define-deprecated-package texlive-latex-graphics texlive-graphics)
|
||||||
|
|
||||||
(define-public texlive-latex-hycolor
|
(define-public texlive-hycolor
|
||||||
(package
|
(let ((template (simple-texlive-package
|
||||||
(inherit (simple-texlive-package
|
"texlive-hycolor"
|
||||||
"texlive-latex-hycolor"
|
(list "doc/latex/hycolor/"
|
||||||
(list "/doc/latex/hycolor/README.md"
|
"source/latex/hycolor/"
|
||||||
"/tex/latex/hycolor/")
|
"tex/latex/hycolor/")
|
||||||
(base32
|
(base32
|
||||||
"026lfb4l7b3q8g6zc68siqandhb1x98cbycn7njknqva6s99aiqn")
|
"0hmkx37wwmznxjqqnca87shy7qrgqrh2cn5r941ddgivnym31xbh"))))
|
||||||
#:trivial? #t))
|
(package
|
||||||
(home-page "https://www.ctan.org/pkg/latex-graphics")
|
(inherit template)
|
||||||
(synopsis "Color for hyperref and bookmark")
|
(outputs '("out" "doc"))
|
||||||
(description
|
(arguments
|
||||||
"This package provides the code for the @code{color} option that is
|
(substitute-keyword-arguments (package-arguments template)
|
||||||
|
((#:tex-directory _ '())
|
||||||
|
"latex/hycolor")
|
||||||
|
((#:build-targets _ '())
|
||||||
|
#~(list "hycolor.dtx"))
|
||||||
|
((#:phases phases)
|
||||||
|
#~(modify-phases #$phases
|
||||||
|
(add-after 'unpack 'chdir
|
||||||
|
(lambda _
|
||||||
|
(chdir "source/latex/hycolor")))
|
||||||
|
(replace 'copy-files
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((origin (assoc-ref inputs "source"))
|
||||||
|
(source (string-append #$output
|
||||||
|
"/share/texmf-dist/source"))
|
||||||
|
(doc (string-append #$output:doc
|
||||||
|
"/share/texmf-dist/doc")))
|
||||||
|
(copy-recursively (string-append origin "/source") source)
|
||||||
|
(copy-recursively (string-append origin "/doc") doc))))))))
|
||||||
|
(home-page "https://www.ctan.org/pkg/latex-graphics")
|
||||||
|
(synopsis "Color for hyperref and bookmark")
|
||||||
|
(description
|
||||||
|
"This package provides the code for the @code{color} option that is
|
||||||
used by @code{hyperref} and @code{bookmark}.")
|
used by @code{hyperref} and @code{bookmark}.")
|
||||||
(license license:lppl1.3c+)))
|
(license license:lppl1.3c+))))
|
||||||
|
|
||||||
|
(define-deprecated-package texlive-latex-hycolor texlive-hycolor)
|
||||||
|
|
||||||
(define-public texlive-xcolor
|
(define-public texlive-xcolor
|
||||||
(let ((template (simple-texlive-package
|
(let ((template (simple-texlive-package
|
||||||
|
@ -3492,7 +3516,7 @@ (define-public texlive-hyperref
|
||||||
texlive-ltxcmds
|
texlive-ltxcmds
|
||||||
texlive-pdfescape
|
texlive-pdfescape
|
||||||
texlive-auxhook
|
texlive-auxhook
|
||||||
texlive-latex-hycolor
|
texlive-hycolor
|
||||||
texlive-latex-kvoptions
|
texlive-latex-kvoptions
|
||||||
texlive-latex-letltxmacro
|
texlive-latex-letltxmacro
|
||||||
texlive-pdftexcmds
|
texlive-pdftexcmds
|
||||||
|
|
Loading…
Reference in a new issue