gnu: Add texlive-pdfcrop.

* gnu/packages/tex.scm (texlive-pdfcrop): New variable.
This commit is contained in:
Nicolas Goaziou 2023-07-16 17:19:10 +02:00
parent 7ee92aca62
commit ffd119b290
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -2995,6 +2995,26 @@ (define-public texlive-pdfbook2
occurs.")
(license license:gpl3)))
(define-public texlive-pdfcrop
(package
(name "texlive-pdfcrop")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/support/pdfcrop/" "scripts/pdfcrop/")
(base32
"0wb67hsfasxvl1b484hyxvghhm9nkxwgs6m8ygzshr0m874hsl01")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (list #:link-scripts #~(list "pdfcrop.pl")))
(inputs (list perl))
(home-page "https://ctan.org/pkg/pdfcrop")
(synopsis "Crop PDF graphics")
(description
"This package provides a Perl script that can either trim pages of any
whitespace border, or trim them of a fixed border.")
(license license:lppl1.3c)))
(define-public texlive-tex-ini-files
(package
(name "texlive-tex-ini-files")