[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60910] [PATCH 12/25] gnu: Add xurls.
From: |
( |
Subject: |
[bug#60910] [PATCH 12/25] gnu: Add xurls. |
Date: |
Mon, 06 Feb 2023 22:32:55 +0000 |
* gnu/packages/golang.scm (xurls): New variable.
> --- a/gnu/packages/golang.scm
> +++ b/gnu/packages/golang.scm
> @@ -9760,6 +9760,38 @@ (define-public go-go-uber-org-multierr
> + (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")))))))
I'm not certain what you're trying to accomplish here, but would you be able
to replace this with:
(arguments
`(#:import-path "mvdan.cc/xurls/v2"
#:unpack-path "mvdan.cc/xurls/v2/cmd/xurls"))
?
> + (inputs (list go-golang-org-x-sync go-github-com-rogpeppe-go-internal))
Add newlines after the ``inputs'' symbol and between the inputs :)
> + (description
> + "Xurls extracts urls from plain text using regular expressions. It can
> +be used as both a binary and a library.")
s/Xurls extracts/This package provides a Go library for extracting/
-- (
signature.asc
Description: PGP signature
- [bug#60910] [PATCH 12/25] gnu: Add xurls.,
( <=