From e2dd54c09035aadce8a363c3b1faf703f025d62d Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Thu, 20 Dec 2018 08:53:05 +0100 Subject: gnu: Add scdoc. * gnu/packages/man.scm (scdoc): New variable. --- gnu/packages/man.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/man.scm') diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index b640884933..8989dd230b 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2015 Alex Kost ;;; Copyright © 2015, 2016 Efraim Flashner ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Rutger Helling ;;; ;;; This file is part of GNU Guix. ;;; @@ -228,6 +229,37 @@ automatically.") (base32 "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 (package (name "txt2man") -- cgit v1.2.3