GNU bug report logs - #69711
[PATCH] gnu: Add go-github-com-hashicorp-go-cleanhttp.

Previous Next

Package: guix-patches;

Reported by: Troy Figiel <troy <at> troyfigiel.com>

Date: Sun, 10 Mar 2024 16:01:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Troy Figiel <troy <at> troyfigiel.com>
Subject: bug#69711: closed ([PATCH] gnu: Add go-github-com-hashicorp-go-cleanhttp.)
Date: Thu, 21 Mar 2024 23:56:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#69711: [PATCH] gnu: Add go-github-com-hashicorp-go-cleanhttp.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 69711 <at> debbugs.gnu.org.

-- 
69711: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69711
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 69711-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add go-github-com-hashicorp-go-cleanhttp.
Date: Thu, 21 Mar 2024 23:53:42 +0000
[Message part 3 (text/plain, inline)]
Pushed as 8d27fe61d7f1a2bed0367fa861e4cae1f2f1546d to master.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Troy Figiel <troy <at> troyfigiel.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add go-github-com-hashicorp-go-cleanhttp.
Date: Sun, 10 Mar 2024 16:37:03 +0100
* gnu/packages/golang-web.scm (go-github-com-hashicorp-go-cleanhttp): New variable.
---
 gnu/packages/golang-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1d7ad01af2..b9dcdd46a7 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -964,6 +964,35 @@ (define-public go-github-com-gregjones-httpcache
 shared proxy).")
       (license license:expat))))
 
+(define-public go-github-com-hashicorp-go-cleanhttp
+  (package
+    (name "go-github-com-hashicorp-go-cleanhttp")
+    (version "0.5.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hashicorp/go-cleanhttp")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1i5xslizzwd966w81bz6dxjwzgml4q9bwqa186bsxd1vi8lqxl9p"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/hashicorp/go-cleanhttp"))
+    (home-page "https://github.com/hashicorp/go-cleanhttp")
+    (synopsis "Functions for accessing clean Go @code{http.Client} values")
+    (description
+     "The Go standard library contains a default @code{http.Client} and it is
+a common idiom to tweak it as necessary.  Unfortunately, this is a shared
+value, and it is not uncommon for libraries to assume that they are free to
+modify it at will.  This package provides some simple functions to get a
+\"clean\" @code{http.Client}, namely one that uses the same default values as
+the Go standard library, but returns a client that does not share any state
+with other clients.")
+    (license license:mpl2.0)))
+
 (define-public go-github-com-hjson-hjson-go
   (package
     (name "go-github-com-hjson-hjson-go")

base-commit: c7836393be4d134861d652b2fcf09cf4e68275ca
-- 
2.42.0




This bug report was last modified 1 year and 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.