From 063cff5c9069c070ab1debec4dd44243ed39e1c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Mon, 1 Dec 2025 02:08:10 +0100 Subject: [PATCH] gnu: Add go-github-com-mvdan-xurls. * gnu/packages/golang-web.scm (go-github-com-mvdan-xurls): New variable. Change-Id: I45619fea0af4408d1ac854583e297da00b7d4a60 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 07da7a2675683eed9e2d3f3dac2228efe64c1e10..228fdc79f31afb82d22dfa5a638aff40da00adc2 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -16712,6 +16712,31 @@ etc) be used as both a binary and a library.") (license license:bsd-3))) +(define-public go-github-com-mvdan-xurls + (package + (name "go-github-com-mvdan-xurls") + (version "1.1.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 "05q4nqbpgfb0a35sn22rn9mlag2ks4cgwb54dx925hipp6zgj1hx")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/mvdan/xurls")) + (propagated-inputs (list go-golang-org-x-net)) + (home-page "https://github.com/mvdan/xurls") + (synopsis "Extracts URLs from text") + (description + "Xurls extracts urls from plain text using regular expressions. It can +be used as both a binary and a library.") + (license license:bsd-3))) + (define-public go-nhooyr-io-websocket (package (name "go-nhooyr-io-websocket")