gnu: Add go-github-com-go-md2man.

* gnu/packages/golang.scm (go-github-com-go-md2man): New variable.
This commit is contained in:
Leo Famulari 2020-02-12 22:06:45 -05:00
parent 0ca8bc01a1
commit 2c0bc073f2
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -4,7 +4,7 @@
;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
;;; Copyright © 2016, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2017 Petter <petter@mykolab.ch>
;;; Copyright © 2016, 2017, 2018, 2019 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017 Sergei Trofimovich <slyfox@inbox.ru>
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
@ -2490,6 +2490,35 @@ (define-public go-github-com-urfave-cli
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")