diff options
author | Leo Famulari <leo@famulari.name> | 2020-02-12 22:06:45 -0500 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2020-02-13 19:44:29 -0500 |
commit | 2c0bc073f2a2595489bfe191544466bf8b86d062 (patch) | |
tree | ad9157f33995e3482b1c2d1f7b6dba58d5293ae1 | |
parent | 0ca8bc01a1fb692b227a1718a701cb74254cd313 (diff) | |
download | guix-2c0bc073f2a2595489bfe191544466bf8b86d062.tar.gz |
gnu: Add go-github-com-go-md2man.
* gnu/packages/golang.scm (go-github-com-go-md2man): New variable.
-rw-r--r-- | gnu/packages/golang.scm | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0adfea1afb..b1bd58fea5 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -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 @@ 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") |