From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] gnu: Add txt2man. Date: Fri, 27 Feb 2015 08:35:12 +0100 Message-ID: <87lhjjajtb.fsf@mango.localdomain> Mime-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRFSD-0000PM-7E for guix-devel@gnu.org; Fri, 27 Feb 2015 02:35:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRFS9-0003Hb-TG for guix-devel@gnu.org; Fri, 27 Feb 2015 02:35:21 -0500 Received: from sender1.zohomail.com ([74.201.84.155]:29331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRFS9-0003HX-MI for guix-devel@gnu.org; Fri, 27 Feb 2015 02:35:17 -0500 Content-Disposition: inline; filename=0001-gnu-Add-txt2man.patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel >From dbaea840188e9241f3db81ec40b6282cf6848459 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 27 Feb 2015 08:32:58 +0100 Subject: [PATCH] gnu: Add txt2man. * gnu/packages/man.scm (txt2man): New variable. --- gnu/packages/man.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 712622a..3507c0c 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2014 Ludovic Courtès ;;; Copyright © 2014 David Thompson +;;; Copyright © 2015 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,6 +24,7 @@ #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (gnu packages flex) + #:use-module (gnu packages gawk) #:use-module (gnu packages gdbm) #:use-module (gnu packages groff) #:use-module (gnu packages less) @@ -176,3 +178,28 @@ Linux kernel and C library interfaces employed by user-space programs.") \"--help\" and \"--version\" command-line arguments into a manual page automatically.") (license gpl3+))) + +(define-public txt2man + (package + (name "txt2man") + (version "1.5.6") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/mvertes/txt2man/archive/txt2man-" + version ".tar.gz")) + (sha256 + (base32 + "0sjq687jknq65wbnjh2siq8hc09ydpnlmrkrnwl66mrhd4n9g7fz")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no "check" target + #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))) + #:phases (alist-delete 'configure %standard-phases))) + (inputs + `(("gawk" ,gawk))) + (home-page "https://github.com/mvertes/txt2man") + (synopsis "Convert text to man page") + (description "Txt2man converts flat ASCII text to man page format.") + (license gpl2+))) -- 2.1.0