mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 03:20:43 +02:00
gnu: Add go-github-com-gomarkdown-markdown.
* gnu/packages/golang-xyz.scm (go-github-com-gomarkdown-markdown): New variable. Change-Id: Ib41e5498131c73f568d26396fb021b061f59962b
This commit is contained in:
parent
ca666bd9fd
commit
86f0e4c1fb
1 changed files with 34 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue