gnu: Add texlive-kastrup.

* gnu/packages/tex.scm: New variable.
This commit is contained in:
Paul Garlick 2021-04-15 14:09:26 +01:00
parent 27396a13c8
commit a5bbd38fd1
No known key found for this signature in database
GPG key ID: AAC7E891896B568A

View file

@ -8055,3 +8055,34 @@ (define-public texlive-ly1
basic Adobe Type 1 fonts (Times, Helvetica and Courier) in LaTeX using
LY1 encoding.")
(license license:lppl1.0+)))
(define-public texlive-kastrup
(package
(name "texlive-kastrup")
(version (number->string %texlive-revision))
(source
(origin
(method svn-fetch)
(uri (texlive-ref "generic" "kastrup"))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"1kkshc48brkq2nx3rlbv78a2130izykbf33ri1q2shqr8pjfmmq8"))))
(build-system texlive-build-system)
(arguments
'(#:tex-directory "generic/kastrup"
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-generated-file
(lambda _
(delete-file "binhex.drv")
#t)))))
(home-page "http://www.ctan.org/pkg/binhex")
(synopsis "Convert numbers into binary, octal and hexadecimal")
(description "The @code{kastrup} package provides the
@emph{binhex.tex} file. This file provides expandable macros for both
fixed-width and minimum-width numbers to bases 2, 4, 8 and 16. All
constructs TeX accepts as arguments to its @code{\\number} primitive
are valid as arguments for the macros. The package may be used under
LaTeX and plain TeX.")
(license (license:fsf-free "file:/binhex.dtx"))))