gnu: Add texlive-srcredact.

* gnu/packages/tex.scm (texlive-srcredact): New variable.
This commit is contained in:
Nicolas Goaziou 2023-07-16 17:22:43 +02:00
parent 71a4228b9c
commit dbc2a2dd12
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -3298,6 +3298,31 @@ (define-public texlive-spix
SpiX to understand it).")
(license license:gpl3+)))
(define-public texlive-srcredact
(package
(name "texlive-srcredact")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/man/man1/srcredact.1"
"doc/man/man1/srcredact.man1.pdf"
"doc/support/srcredact/"
"scripts/srcredact/")
(base32
"1a0mmr3ggxxv69zfwlrlagbczy83ngy2kxzw437n0iksz6bgrvpx")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (list #:link-scripts #~(list "srcredact.pl")))
(inputs (list perl))
(home-page "https://ctan.org/pkg/srcredact")
(synopsis "Tool for redacting sources")
(description
"This package provides a tool to keep a master source, consisting of
different chunks intended for different audiences. The tool allows to extract
the versions intended for different audiences and to incorporate the changes
made in any of these versions into the master document.")
(license license:gpl2)))
(define-public texlive-tex-ini-files
(package
(name "texlive-tex-ini-files")