guix-patches
[Top][All Lists]
Advanced

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

[bug#47539] [PATCH 14/28] gnu: Add go-github-com-cpuguy83-go-md2man-v2.


From: Xinglu Chen
Subject: [bug#47539] [PATCH 14/28] gnu: Add go-github-com-cpuguy83-go-md2man-v2.
Date: Thu, 01 Apr 2021 10:02:31 +0200

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index adeaa7e88d..1ba938715e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7367,3 +7367,33 @@ names.  Its logic can be reused by multiple packages to 
create interoperable
 anchor names and links to those anchors.")
     (license license:expat)))
 
+(define-public go-github-com-cpuguy83-go-md2man-v2
+  (package
+    (name "go-github-com-cpuguy83-go-md2man-v2")
+    (version "2.0.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/cpuguy83/go-md2man.git";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))))
+    (build-system go-build-system)
+    (arguments
+      '(#:import-path "github.com/cpuguy83/go-md2man"))
+    (native-inputs
+      `(("go-github-com-shurcool-sanitized-anchor-name"
+         ,go-github-com-shurcool-sanitized-anchor-name)
+        ("go-github-com-russross-blackfriday-v2"
+         ,go-github-com-russross-blackfriday-v2)
+        ("go-github-com-pmezard-go-difflib"
+         ,go-github-com-pmezard-go-difflib)))
+    (home-page
+      "https://github.com/cpuguy83/go-md2man";)
+    (synopsis "Convert Markdown into Man pages")
+    (description "This package converts Markdown into Roff Man pages.")
+    (license license:expat)))
+
-- 
2.31.1







reply via email to

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