gnu: Add texlive-chktex.

* gnu/packages/tex.scm (texlive-chktex): New variable.
This commit is contained in:
Nicolas Goaziou 2023-07-15 23:53:05 +02:00
parent 8787605c5e
commit 270c474bd7
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1347,6 +1347,34 @@ (define-public texlive-chklref
labels and advises the user to use a starred version instead.") labels and advises the user to use a starred version instead.")
(license license:gpl3))) (license license:gpl3)))
(define-public texlive-chktex
(package
(name "texlive-chktex")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "chktex/"
"doc/chktex/"
"doc/man/man1/chktex.1"
"doc/man/man1/chktex.man1.pdf"
"doc/man/man1/chkweb.1"
"doc/man/man1/chkweb.man1.pdf"
"doc/man/man1/deweb.1"
"doc/man/man1/deweb.man1.pdf"
"scripts/chktex/")
(base32
"0qyrllxvcymmr1a4sq9c88fw5zchcx0n6yac69s61fg6xypk18bq")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (list #:link-scripts #~(list "chkweb.sh" "deweb.pl")))
(inputs (list perl))
(home-page "https://ctan.org/pkg/chktex")
(synopsis "Check for errors in LaTeX documents")
(description
"The program reports typographic and other errors in LaTeX documents.
Filters are also provided for checking the LaTeX parts of CWEB documents.")
(license license:gpl2+)))
(define-public texlive-dvipsconfig (define-public texlive-dvipsconfig
(package (package
(name "texlive-dvipsconfig") (name "texlive-dvipsconfig")