mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 03:29:40 -05:00
gnu: Add scdoc.
* gnu/packages/man.scm (scdoc): New variable.
This commit is contained in:
parent
36e1ab842d
commit
e2dd54c090
1 changed files with 32 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
|
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
|
||||||
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
|
;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -228,6 +229,37 @@ (define-public help2man/latest
|
||||||
(base32
|
(base32
|
||||||
"1p5830h88cx0zn0snwaj0vpph81xicpsirfwlxmcgjrlmn0nm3sj"))))))
|
"1p5830h88cx0zn0snwaj0vpph81xicpsirfwlxmcgjrlmn0nm3sj"))))))
|
||||||
|
|
||||||
|
(define-public scdoc
|
||||||
|
(package
|
||||||
|
(name "scdoc")
|
||||||
|
(version "1.6.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://git.sr.ht/%7Esircmpwn/scdoc/archive/" version
|
||||||
|
".tar.gz"))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1ca3js4arkg28gg2iszxxyrq7kgsrz482d1szv5dfd471h3vr5m3"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:make-flags '("CC=gcc")
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(delete 'configure)
|
||||||
|
(add-before 'install 'hardcode-paths
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("/usr/local") (assoc-ref outputs "out")))
|
||||||
|
#t)))))
|
||||||
|
(home-page "https://git.sr.ht/~sircmpwn/scdoc")
|
||||||
|
(synopsis "Simple man page generator")
|
||||||
|
(description "scdoc is a simple man page generator written for POSIX systems
|
||||||
|
in C99.")
|
||||||
|
;; MIT license, see /share/doc/scdoc-1.6.0/COPYING.
|
||||||
|
(license expat)))
|
||||||
|
|
||||||
(define-public txt2man
|
(define-public txt2man
|
||||||
(package
|
(package
|
||||||
(name "txt2man")
|
(name "txt2man")
|
||||||
|
|
Loading…
Reference in a new issue