gnu: texlive-refcount: Refresh package definition.

* gnu/packages/tex.scm (texlive-refcount): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[propagated-inputs]: Add TEXLIVE-INFWARERR, TEXLIVE-LTXCMDS.
This commit is contained in:
Nicolas Goaziou 2023-05-15 22:49:12 +02:00
parent 21dbe0812d
commit c5b0265520
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -5718,31 +5718,28 @@ (define-public texlive-pstool
(define-deprecated-package texlive-latex-pstool texlive-pstool) (define-deprecated-package texlive-latex-pstool texlive-pstool)
(define-public texlive-refcount (define-public texlive-refcount
(let ((template (simple-texlive-package (package
"texlive-refcount" (name "texlive-refcount")
(list "doc/latex/refcount/" (version (number->string %texlive-revision))
"source/latex/refcount/" (source (texlive-origin
"tex/latex/refcount/") name version
(base32 (list "doc/latex/refcount/" "source/latex/refcount/"
"128cvwdl4wcdshvs59yn5iljdxxdrc5jircbxav77y7kc3l33z7z")))) "tex/latex/refcount/")
(package (base32
(inherit template) "128cvwdl4wcdshvs59yn5iljdxxdrc5jircbxav77y7kc3l33z7z")))
(outputs '("out" "doc")) (outputs '("out" "doc"))
(arguments (build-system texlive-build-system)
(substitute-keyword-arguments (package-arguments template) (propagated-inputs
((#:tex-directory _ '()) (list texlive-infwarerr texlive-ltxcmds))
"latex/refcount") (home-page "https://www.ctan.org/pkg/refcount")
((#:build-targets _ '()) (synopsis "Counter operations with label references")
#~(list "refcount.dtx")))) (description
(home-page "https://www.ctan.org/pkg/refcount") "This package provides the @code{\\setcounterref} and
(synopsis "Counter operations with label references")
(description
"This package provides the @code{\\setcounterref} and
@code{\\addtocounterref} commands which use the section (or other) number @code{\\addtocounterref} commands which use the section (or other) number
from the reference as the value to put into the counter. It also provides from the reference as the value to put into the counter. It also provides
@code{\\setcounterpageref} and @code{\\addtocounterpageref} that do the @code{\\setcounterpageref} and @code{\\addtocounterpageref} that do the
corresponding thing with the page reference of the label.") corresponding thing with the page reference of the label.")
(license license:lppl1.3c+)))) (license license:lppl1.3c+)))
(define-deprecated-package texlive-latex-refcount texlive-refcount) (define-deprecated-package texlive-latex-refcount texlive-refcount)