summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-06-26 13:49:48 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-01 08:41:01 +0100
commit86f0e4c1fb0ffd6c1a6bf5d78857d4597f0ef9f3 (patch)
tree47673149143b4ba7a18447d460a63d572fb9b05f /gnu/packages/golang-xyz.scm
parentca666bd9fd5b3c168736a64ccbc4abdbe5ccb456 (diff)
gnu: Add go-github-com-gomarkdown-markdown.
* gnu/packages/golang-xyz.scm (go-github-com-gomarkdown-markdown): New variable. Change-Id: Ib41e5498131c73f568d26396fb021b061f59962b
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 82886f2c17..7beb5ed98d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7493,6 +7493,40 @@ All the functionality of the built-in package still exists and is unchanged.
This package contains a series of small enhancements and additions.")
(license license:bsd-3)))
+(define-public go-github-com-gomarkdown-markdown
+ (package
+ (name "go-github-com-gomarkdown-markdown")
+ (version "0.0.0-20250311123330-531bef5e742b")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gomarkdown/markdown")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lw38q8izwflfkqxpr89p0sbriqgbzr240mfzhba2fkk3365y3xs"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/gomarkdown/markdown"
+ #:test-flags #~(list "-skip" "TestRenderCodeBlock")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file-recursively "examples"))))
+ (add-after 'check 'remove-testdata
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file-recursively "testdata")))))))
+ (home-page "https://github.com/gomarkdown/markdown")
+ (synopsis "Markdown Parser and HTML Renderer for Go")
+ (description
+ "Package markdown implements markdown parser and HTML renderer.")
+ (license license:bsd-2)))
+
(define-public go-github-com-gomodule-redigo
(package
(name "go-github-com-gomodule-redigo")