gnu: Add go-github-com-russross-blackfriday-v2.

* gnu/packages/golang.scm (go-github-com-russross-blackfriday):
Downgrade to the highest v1.
(go-github-com-russross-blackfriday-v2): New variable.
(go-github-com-go-md2man) [propagated-inputs]: Remove
go-github-com-russross-blackfriday, add
go-github-com-russross-blackfriday-v2.

Change-Id: Ieb37f37bb1eb25eca84698e7e3e3fc13ef4beef5
This commit is contained in:
Sharlatan Hellseher 2024-11-19 00:01:32 +00:00
parent 992ab48dfd
commit cdf968ae86
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4474,7 +4474,7 @@ fast and distributable command line applications in an expressive way.")
(arguments (arguments
'(#:import-path "github.com/cpuguy83/go-md2man")) '(#:import-path "github.com/cpuguy83/go-md2man"))
(propagated-inputs (propagated-inputs
(list go-github-com-russross-blackfriday)) (list go-github-com-russross-blackfriday-v2))
(home-page "https://github.com/cpuguy83/go-md2man") (home-page "https://github.com/cpuguy83/go-md2man")
(synopsis "Convert markdown into roff") (synopsis "Convert markdown into roff")
(description "Go-md2man is a Go program that converts markdown to roff for (description "Go-md2man is a Go program that converts markdown to roff for
@ -4511,7 +4511,7 @@ source file.")
(define-public go-github-com-russross-blackfriday (define-public go-github-com-russross-blackfriday
(package (package
(name "go-github-com-russross-blackfriday") (name "go-github-com-russross-blackfriday")
(version "2.0.1") (version "1.6.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -4521,7 +4521,7 @@ source file.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j")))) "036028ynpq52z9snmd2b1kjzyvv6n9sg71k651ndznggnw19aamp"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
'(#:import-path "github.com/russross/blackfriday")) '(#:import-path "github.com/russross/blackfriday"))
@ -4534,6 +4534,23 @@ source file.")
(description "Blackfriday is a Markdown processor in Go.") (description "Blackfriday is a Markdown processor in Go.")
(license license:bsd-2))) (license license:bsd-2)))
(define-public go-github-com-russross-blackfriday-v2
(package
(inherit go-github-com-russross-blackfriday)
(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")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0d1rg1drrfmabilqjjayklsz5d0n3hkf979sr3wsrw92bfbkivs7"))))
(arguments
(list #:import-path "github.com/russross/blackfriday/v2"))))
(define-public go-github-com-rubyist-tracerx (define-public go-github-com-rubyist-tracerx
(let ((commit "787959303086f44a8c361240dfac53d3e9d53ed2") (let ((commit "787959303086f44a8c361240dfac53d3e9d53ed2")
(revision "0")) (revision "0"))