aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/man.scm
diff options
context:
space:
mode:
authorRaghav Gururajan <raghavgururajan@disroot.org>2020-07-14 17:21:08 -0400
committerDanny Milosavljevic <dannym@scratchpost.org>2020-08-18 23:10:04 +0200
commite047b265179b07562a9165200097b2624b58d7c6 (patch)
tree8b5987f978cae97b0209378ac16ce7b3ffacf037 /gnu/packages/man.scm
parent9c430c2861b14fe6b244f5bfba11cbfdb4dca43f (diff)
downloadguix-e047b265179b07562a9165200097b2624b58d7c6.tar
guix-e047b265179b07562a9165200097b2624b58d7c6.tar.gz
gnu: Add xmltoman.
* gnu/packages/man.scm (xmltoman): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu/packages/man.scm')
-rw-r--r--gnu/packages/man.scm36
1 files changed, 35 insertions, 1 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index 6db7b0a37f..45c8baef31 100644
--- a/gnu/packages/man.scm
+++ b/gnu/packages/man.scm
@@ -38,7 +38,41 @@
#:use-module (gnu packages less)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
- #:use-module (gnu packages linux))
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages xml))
+
+(define-public xmltoman
+ (package
+ (name "xmltoman")
+ (version "0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://sourceforge.net/projects/xmltoman/files/"
+ "xmltoman/xmltoman-" version ".tar.gz/xmltoman-"
+ version ".tar.gz/download"))
+ (sha256
+ (base32 "1c0lvzr7kdy63wbn1jv6s126ds7add3pxqb0vlxd3v5a2sir91wl"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; No tests
+ #:make-flags
+ (list
+ (string-append "PREFIX="
+ (assoc-ref %outputs "out")))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (propagated-inputs
+ `(("perl" ,perl)
+ ("perl-xml-parser" ,perl-xml-parser)))
+ (synopsis "XML to Man converter")
+ (description "XMLtoMan and XMLMantoHTML are two small scripts to convert xml
+to man pages in groff format or html. It features the usual man page items such
+as description, options, see also, etc.")
+ (home-page "http://xmltoman.sourceforge.net/")
+ (license gpl2+)))
(define-public ronn
(package