[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
306/331: gnu: Add latex2html.
From: |
guix-commits |
Subject: |
306/331: gnu: Add latex2html. |
Date: |
Fri, 14 Aug 2020 11:14:19 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit cc4c1ec9c4c6eb31e46124d8bca75c552659a819
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri Aug 7 22:44:20 2020 -0400
gnu: Add latex2html.
* gnu/packages/documentation.scm (latex2html): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/documentation.scm | 44 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index 405ebcc..9c30fc8 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -54,6 +54,50 @@
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
+(define-public latex2html
+ (package
+ (name "latex2html")
+ (version "2020.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/latex2html/latex2html.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1icyl6kl60wh7cavprgbd8q6lpjwr7wn24m34kpiif7ahknhcbcm"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "configure"
+ (("/usr/local")
+ (assoc-ref outputs "out"))
+ (("\\$\\{CONFIG_SHELL-/bin/sh\\}")
+ (which "bash")))
+ #t))
+ (replace 'configure
+ (lambda _
+ (invoke "./configure")
+ #t))
+ (add-after 'configure 'patch-cfgcache
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "cfgcache.pm"
+ (("/usr/local")
+ (assoc-ref outputs "out")))
+ #t)))))
+ (inputs
+ `(("perl" ,perl)))
+ (synopsis "LaTeX documents to HTML")
+ (description "LaTeX2HTML is a utility that converts LaTeX documents to web
+pages in HTML.")
+ (home-page "https://www.latex2html.org/")
+ (license gpl2+)))
+
(define-public asciidoc
(package
(name "asciidoc")
- 304/331: gnu: Add liblouis., (continued)
- 304/331: gnu: Add liblouis., guix-commits, 2020/08/14
- 311/331: gnu: rygel: Update package definition., guix-commits, 2020/08/14
- 315/331: gnu: totem: Update package definition., guix-commits, 2020/08/14
- 316/331: gnu: wayland: Update package definition., guix-commits, 2020/08/14
- 322/331: gnu: mutter: Update package definition., guix-commits, 2020/08/14
- 325/331: build-system/glib-or-gtk: Include GI_TYPELIB_PATH in wrapper., guix-commits, 2020/08/14
- 328/331: build-system/meson: Wrap Python executables, too., guix-commits, 2020/08/14
- 302/331: gnu: gnome-weather: Update package definition., guix-commits, 2020/08/14
- 303/331: gnu: nautilus: Update package definition., guix-commits, 2020/08/14
- 305/331: gnu: Add liblouisutdml., guix-commits, 2020/08/14
- 306/331: gnu: Add latex2html.,
guix-commits <=
- 307/331: gnu: Add libbraille., guix-commits, 2020/08/14
- 310/331: gnu: gst-editing-services: Update package definition., guix-commits, 2020/08/14
- 318/331: gnu: Add eglexternalplatform., guix-commits, 2020/08/14
- 320/331: gnu: Add mozjs-68., guix-commits, 2020/08/14
- 323/331: gnu: gdm: Update package definition., guix-commits, 2020/08/14
- 324/331: gnu: gnome-shell: Update package definition., guix-commits, 2020/08/14
- 326/331: build-system/glib-or-gtk: Also wrap executables that are in "sbin"., guix-commits, 2020/08/14
- 330/331: gnu: gnome: Revise package definition., guix-commits, 2020/08/14
- 331/331: gnu: Add gnome-minimal., guix-commits, 2020/08/14