@@ -9943,3 +9943,28 @@ (define-public go-github-com-delthas-tcell
go-golang-org-x-term
go-golang-org-x-text))
(home-page "https://github.com/delthas/tcell")))
+
+(define-public go-mvdan-cc-xurls
+ (package
+ (name "go-mvdan-cc-xurls")
+ (version "2.4.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mvdan/xurls")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0b040nbk1vwlk1qljavh8w8fn2r243q700n6gr8j2asmnz0xq84p"))))
+ (build-system go-build-system)
+ (arguments (list #:import-path "mvdan.cc/xurls/v2"))
+ (propagated-inputs
+ (list go-golang-org-x-sync
+ go-github-com-rogpeppe-go-internal))
+ (home-page "https://mvdan.cc/xurls/v2")
+ (synopsis "Extract URLs from text in Go")
+ (description
+ "This package provides a library for extracting URLs from plain text
+using regular expressions in Go.")
+ (license license:bsd-3)))