guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 9208ee2a009524e4328abcc39be96d929088449b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Sep 4 11:48:33 2026 +0100
gnu: go-github-com-elazarl-goproxy: Update to 1.9.0.
* gnu/packages/golang-web.scm (go-github-com-elazarl-goproxy): Update to
1.9.0.
[arguments] <#:test-flags>: Refresh skipped tests list.
[propagated-inputs]: Add go-github-com-coder-websocket.
[native-inputs]: Add go-github-com-stretchr-testify.
---
gnu/packages/golang-web.scm | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4e8ae2cee23..1847b767474 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -7026,16 +7026,16 @@ standard @code{net/http} package.")
(define-public go-github-com-elazarl-goproxy
(package
(name "go-github-com-elazarl-goproxy")
- (version "0.0.0-20241221210044-9faedc2f9e9f")
+ (version "1.9.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/elazarl/goproxy")
- (commit (go-version->git-ref version))))
+ (url "https://github.com/elazarl/goproxy")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0j3v0y18igr3wy9vbwyg19fzy12jc41kmpfcz2jh1dnk6kxn2n67"))))
+ (base32 "03iarcwm7jbci187in9ylzw5drfmcb0i3njiq7v1sbglyym5sdii"))))
(build-system go-build-system)
(arguments
(list
@@ -7043,13 +7043,19 @@ standard @code{net/http} package.")
#:test-flags
#~(list "-skip" (string-join
;; Networking or curl are required.
- (list "TestCurlMinusP"
- "TestSimpleHttpRequest"
+ (list "TestBasicAuthWithCurl"
"TestBasicConnectAuthWithCurl"
- "TestBasicAuthWithCurl"
"TestConstantImageHandler"
+ "TestCurlMinusP"
+ "TestHasGoproxyCA"
"TestImageHandler"
- "TestReplaceImage")
+ "TestMitmHTTP2ALPN"
+ "TestMitmProxyOverHTTP2"
+ "TestProxyWithCertStorage"
+ "TestReplaceImage"
+ "TestSignerRsaTls"
+ "TestSimpleHttpRequest"
+ "TestSignerRsaX509")
"|"))
#:phases
#~(modify-phases %standard-phases
@@ -7057,8 +7063,11 @@ standard @code{net/http} package.")
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "examples")))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
- (list go-golang-org-x-net))
+ (list go-github-com-coder-websocket
+ go-golang-org-x-net))
(home-page "https://github.com/elazarl/goproxy")
(synopsis "HTTP proxy library for Go")
(description