[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60910] [PATCH 12/25] gnu: Add xurls.
From: |
Katherine Cox-Buday |
Subject: |
[bug#60910] [PATCH 12/25] gnu: Add xurls. |
Date: |
Tue, 17 Jan 2023 18:44:57 -0700 |
* gnu/packages/golang.scm (xurls): New variable.
---
gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index aa5f5ba159..cabc2a4bab 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9760,6 +9760,38 @@ (define-public go-go-uber-org-multierr
"@code{multierr} allows combining one or more Go errors together.")
(license license:expat)))
+(define-public xurls
+ (package
+ (name "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
+ `(#:import-path "mvdan.cc/xurls/v2"
+ #:unpack-path "mvdan.cc/xurls/v2"
+ #:phases (modify-phases %standard-phases
+ (replace 'build
+ (lambda arguments
+ (apply (assoc-ref %standard-phases
+ 'build)
+ `(,@arguments #:import-path
+ "mvdan.cc/xurls/v2/cmd/xurls")))))))
+ (inputs (list go-golang-org-x-sync go-github-com-rogpeppe-go-internal))
+ (home-page "https://mvdan.cc/xurls/v2/")
+ (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-golang-org-x-lint
(let ((commit "83fdc39ff7b56453e3793356bcff3070b9b96445")
(revision "0"))
--
2.38.1
- [bug#60898] [PATCH 02/25] gnu: go-golang-org-x-mod: Update to 0.7.0., (continued)
- [bug#60898] [PATCH 02/25] gnu: go-golang-org-x-mod: Update to 0.7.0., Katherine Cox-Buday, 2023/01/17
- [bug#60909] [PATCH 11/25] gnu: go-golang-org-x-tools: Update to 0.5.0., Katherine Cox-Buday, 2023/01/17
- [bug#60901] [PATCH 03/25] gnu: Add go-golang-org-x-exp., Katherine Cox-Buday, 2023/01/17
- [bug#60906] [PATCH 09/25] gnu: go-github-com-rogpeppe-go-internal: Update to 1.9.0., Katherine Cox-Buday, 2023/01/17
- [bug#60913] [PATCH 16/25] gnu: Add go-github-com-google-go-cmdtest., Katherine Cox-Buday, 2023/01/17
- [bug#60914] [PATCH 15/25] gnu: Add go-github-com-client9-misspell., Katherine Cox-Buday, 2023/01/17
- [bug#60915] [PATCH 18/25] gnu: Add go-mvdan-cc-unparam., Katherine Cox-Buday, 2023/01/17
- [bug#60921] [PATCH 24/25] gnu: Add go-mvdan-cc-gofumpt., Katherine Cox-Buday, 2023/01/17
- [bug#60900] [PATCH 04/25] gnu: Add go-github-com-jba-printsrc., Katherine Cox-Buday, 2023/01/17
- [bug#60902] [PATCH 06/25] gnu: Add go-github-com-jba-templatecheck., Katherine Cox-Buday, 2023/01/17
- [bug#60910] [PATCH 12/25] gnu: Add xurls.,
Katherine Cox-Buday <=
- [bug#60918] [PATCH 19/25] gnu: Add govulncheck., Katherine Cox-Buday, 2023/01/17
- [bug#60919] [PATCH 20/25] gnu: Add go-golang-org-x-vuln., Katherine Cox-Buday, 2023/01/17
- [bug#60920] [PATCH 22/25] gnu: go-honnef-co-go-tools: Update to 0.3.3., Katherine Cox-Buday, 2023/01/17
- [bug#60907] [PATCH 07/25] gnu: go-github-com-google-go-cmp-cmp: Update to 0.5.9., Katherine Cox-Buday, 2023/01/17
- [bug#60908] [PATCH 10/25] gnu: gopkg-in-errgo-fmt-errors: Rename package to go-gopkg-in-errgo-fmt-errors., Katherine Cox-Buday, 2023/01/17
- [bug#60911] [PATCH 13/25] gnu: Add go-mvdan-cc-xurls., Katherine Cox-Buday, 2023/01/17
- [bug#60912] [PATCH 14/25] gnu: Add misspell., Katherine Cox-Buday, 2023/01/17
- [bug#60916] [PATCH 17/25] gnu: Add unparam., Katherine Cox-Buday, 2023/01/17
- [bug#60917] [PATCH 21/25] gnu: go-github-com-burntsushi-toml: Update to 1.2.1., Katherine Cox-Buday, 2023/01/17
- [bug#60922] [PATCH 23/25] gnu: Add gofumpt., Katherine Cox-Buday, 2023/01/17