[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
306/401: gnu: Add latex2html.
From: |
guix-commits |
Subject: |
306/401: gnu: Add latex2html. |
Date: |
Tue, 18 Aug 2020 16:22:04 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 704d1960d3cbfd0de8c29045fd2392a3de148e21
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")
- 275/401: gnu: rust-pin-project-internal@0.4.22: Fix reference to rust-syn., (continued)
- 275/401: gnu: rust-pin-project-internal@0.4.22: Fix reference to rust-syn., guix-commits, 2020/08/18
- 280/401: gnu: gnome-disk-utility: Update package definition., guix-commits, 2020/08/18
- 287/401: gnu: gnome-initial-setup: Update package definition., guix-commits, 2020/08/18
- 286/401: gnu: malcontent: Update package definition., guix-commits, 2020/08/18
- 288/401: gnu: gnome-keyring: Update package definition., guix-commits, 2020/08/18
- 290/401: gnu: gnome-menus: Update package definition., guix-commits, 2020/08/18
- 294/401: gnu: gnome-session: Update package definition., guix-commits, 2020/08/18
- 295/401: gnu: gnome-settings-daemon: Update package definition., guix-commits, 2020/08/18
- 300/401: gnu: gnome-user-docs: Update package definition., guix-commits, 2020/08/18
- 302/401: gnu: gnome-weather: Update package definition., guix-commits, 2020/08/18
- 306/401: gnu: Add latex2html.,
guix-commits <=
- 305/401: gnu: Add liblouisutdml., guix-commits, 2020/08/18
- 314/401: gnu: sushi: Update package definition., guix-commits, 2020/08/18
- 315/401: gnu: totem: Update package definition., guix-commits, 2020/08/18
- 317/401: gnu: wayland-protocols: Update package definition., guix-commits, 2020/08/18
- 324/401: gnu: gnome-shell: Update package definition., guix-commits, 2020/08/18
- 327/401: build-system/python: Also wrap executables that are in "libexec"., guix-commits, 2020/08/18
- 335/401: gnu: gdm: Fix elogind., guix-commits, 2020/08/18
- 336/401: gnu: flatpak: Fix build., guix-commits, 2020/08/18
- 337/401: gnu: at-spi2-core: Include python phases., guix-commits, 2020/08/18
- 339/401: gnu: fcitx: Include glib-or-gtk and python phases., guix-commits, 2020/08/18