GNU bug report logs -
#60910
[PATCH 12/25] gnu: Add xurls.
Previous Next
Reported by: Katherine Cox-Buday <cox.katherine.e <at> gmail.com>
Date: Wed, 18 Jan 2023 01:46:09 UTC
Severity: normal
Tags: patch
Merged with 60898,
60899,
60900,
60901,
60902,
60903,
60904,
60905,
60906,
60907,
60908,
60909,
60911,
60912,
60913,
60914,
60915,
60916,
60917,
60918,
60919,
60920,
60921,
60922
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
* 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 (application/pgp-signature, inline)]
This bug report was last modified 2 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.