diff mbox series

[bug#47539,v2,11/26] gnu: Add go-github-com-russross-blackfriday-v2.

Message ID 5a80b64521f2f695d55fa2ae6a772a0e9de5d7e7.1617301221.git.public@yoctocell.xyz
State New
Headers show
Series Add github-cli and dependencies | expand


Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Xinglu Chen April 1, 2021, 6:31 p.m. UTC
* gnu/packages/golang.scm (go-github-com-russross-blackfriday-v2): New variable.
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
diff mbox series


diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1d5c99e08a..cbfc5c7706 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7314,3 +7314,29 @@  application flow in Go client apps.")
 @code{exec.LookPath()} on Windows.")
      (license license:bsd-2))))
+(define-public go-github-com-russross-blackfriday-v2
+  (package
+    (name "go-github-com-russross-blackfriday-v2")
+    (version "2.1.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/russross/blackfriday.git")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "0d1rg1drrfmabilqjjayklsz5d0n3hkf979sr3wsrw92bfbkivs7"))))
+    (build-system go-build-system)
+    (arguments
+      '(#:import-path "github.com/russross/blackfriday"))
+    (home-page
+      "https://github.com/russross/blackfriday")
+    (synopsis "Markdown processor implemented in Go")
+    (description "Blackfriday is a Markdown processor implemented in Go.  It
+is paranoid about its input (so you can safely feed it user-supplied data), it
+is fast, it supports common extensions (tables, smart punctuation
+substitutions, etc.), and it is safe for all utf-8 (unicode) input.")
+    (license license:bsd-2)))