gnu: Add lhs2tex.

* gnu/packages/haskell-apps.scm (lhs2tex): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Sören Tempel 2025-09-23 00:33:10 +02:00 committed by Ludovic Courtès
parent 7eeab5ffa7
commit 04120f69dd
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -623,6 +623,29 @@ with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
and mIRC chat codes.")
(license license:bsd-3)))
(define-public lhs2tex
(package
(name "lhs2tex")
(version "1.25")
(source
(origin
(method url-fetch)
(uri (hackage-uri "lhs2tex" version))
(sha256
(base32 "0cf66z6mgadgqd1xs5b6gw8l9rkwgbfsc5czwdiapn7ichi26qyj"))))
(build-system haskell-build-system)
(properties '((upstream-name . "lhs2tex")))
(inputs (list ghc-regex-compat))
(home-page "https://github.com/kosmikus/lhs2tex")
(synopsis "Preprocessor for typesetting Haskell sources with LaTeX")
(description
"This tool is primarily intended for people who want to write articles or
books using LaTeX that contain some Haskell code. It works on literate Haskell
documents where the non-Haskell parts form essentially a valid LaTeX document,
then processes the Haskell code in the document and replaces it with formatted
LaTeX output.")
(license license:gpl2+)))
(define-public kmonad
;; Project is active, but no new releases exist. Pick current master
;; HEAD as of 2024-08-18.