guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

27/35: gnu: Add go-github-com-go-md2man.


From: guix-commits
Subject: 27/35: gnu: Add go-github-com-go-md2man.
Date: Thu, 13 Feb 2020 19:55:38 -0500 (EST)

lfam pushed a commit to branch master
in repository guix.

commit 2c0bc073f2a2595489bfe191544466bf8b86d062
Author: Leo Famulari <address@hidden>
AuthorDate: Wed Feb 12 22:06:45 2020 -0500

    gnu: Add go-github-com-go-md2man.
    
    * gnu/packages/golang.scm (go-github-com-go-md2man): New variable.
---
 gnu/packages/golang.scm | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0adfea1..b1bd58f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4,7 +4,7 @@
 ;;; Copyright © 2016 Andy Wingo <address@hidden>
 ;;; Copyright © 2016, 2019 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2016, 2017 Petter <address@hidden>
-;;; Copyright © 2016, 2017, 2018, 2019 Leo Famulari <address@hidden>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020 Leo Famulari <address@hidden>
 ;;; Copyright © 2017 Sergei Trofimovich <address@hidden>
 ;;; Copyright © 2017 Alex Vong <address@hidden>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
@@ -2490,6 +2490,35 @@ building command line apps in Go.  The goal is to enable 
developers to write
 fast and distributable command line applications in an expressive way.")
     (license license:expat)))
 
+(define-public go-github-com-go-md2man
+  (package
+    (name "go-github-com-go-md2man")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/cpuguy83/go-md2man";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
+       (modules '((guix build utils)))
+       (snippet '(begin
+                   (delete-file-recursively "vendor")
+                   #t))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/cpuguy83/go-md2man"))
+    (propagated-inputs
+     `(("go-github-com-russross-blackfriday" 
,go-github-com-russross-blackfriday)))
+    (home-page "https://github.com/cpuguy83/go-md2man";)
+    (synopsis "Convert markdown into roff")
+    (description "Go-md2man is a Go program that converts markdown to roff for
+the purpose of building man pages.")
+    (license license:expat)))
+
 (define-public go-github-com-russross-blackfriday
   (package
     (name "go-github-com-russross-blackfriday")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]