~ruther/guix-local

04120f69dde0f00e3a0360b2eda638381602b6c9 — Sören Tempel 7 months ago 7eeab5f
gnu: Add lhs2tex.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 23 insertions(+), 0 deletions(-)

M gnu/packages/haskell-apps.scm
M gnu/packages/haskell-apps.scm => gnu/packages/haskell-apps.scm +23 -0
@@ 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.