[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
306/402: gnu: Add latex2html.
From: |
guix-commits |
Subject: |
306/402: gnu: Add latex2html. |
Date: |
Tue, 18 Aug 2020 16:48:09 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 2b408cd97522de1e0db3e8e3cf29e8dd1444b946
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")
- 277/402: gnu: rust-rgb@0.8.20: Fix references to rust-bytemuck, rust-serde, rust-serde-json., (continued)
- 277/402: gnu: rust-rgb@0.8.20: Fix references to rust-bytemuck, rust-serde, rust-serde-json., guix-commits, 2020/08/18
- 279/402: gnu: gnome-desktop: Update package definition., guix-commits, 2020/08/18
- 282/402: gnu: gnome-getting-started-docs: Update package definition., guix-commits, 2020/08/18
- 283/402: gnu: Add fuse@2.9.9., guix-commits, 2020/08/18
- 286/402: gnu: malcontent: Update package definition., guix-commits, 2020/08/18
- 291/402: gnu: gnome-music: Update package definition., guix-commits, 2020/08/18
- 293/402: gnu: gnome-screenshot: Update package definition., guix-commits, 2020/08/18
- 296/402: gnu: gnome-shell-extensions: Update package definition., guix-commits, 2020/08/18
- 304/402: gnu: Add liblouis., guix-commits, 2020/08/18
- 305/402: gnu: Add liblouisutdml., guix-commits, 2020/08/18
- 306/402: gnu: Add latex2html.,
guix-commits <=
- 310/402: gnu: gst-editing-services: Update package definition., guix-commits, 2020/08/18
- 315/402: gnu: totem: Update package definition., guix-commits, 2020/08/18
- 313/402: gnu: libmusicbrainz: Propagate inputs., guix-commits, 2020/08/18
- 316/402: gnu: wayland: Update package definition., guix-commits, 2020/08/18
- 324/402: gnu: gnome-shell: Update package definition., guix-commits, 2020/08/18
- 320/402: gnu: Add mozjs-68., guix-commits, 2020/08/18
- 312/402: gnu: simple-scan: Update package definition., guix-commits, 2020/08/18
- 319/402: gnu: Add egl-wayland., guix-commits, 2020/08/18
- 317/402: gnu: wayland-protocols: Update package definition., guix-commits, 2020/08/18
- 325/402: build-system/glib-or-gtk: Include GI_TYPELIB_PATH in wrapper., guix-commits, 2020/08/18