From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: 68518@debbugs.gnu.org
Subject: [bug#68518] [PATCH] gnu: Add go-github-com-gregjones-httpcache.
Date: Wed, 17 Jan 2024 00:13:12 +0300 [thread overview]
Message-ID: <87zfx5t21j.fsf@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 61 bytes --]
Hello,
this patch adds "go-github-com-gregjones-httpcache".
[-- Attachment #1.2: 0001-gnu-Add-go-github-com-gregjones-httpcache.patch --]
[-- Type: text/x-diff, Size: 2716 bytes --]
From 1f9c6c060e528df83b0f0dc2e816828da130d3af Mon Sep 17 00:00:00 2001
Message-ID: <1f9c6c060e528df83b0f0dc2e816828da130d3af.1705439507.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Wed, 17 Jan 2024 00:07:42 +0300
Subject: [PATCH] gnu: Add go-github-com-gregjones-httpcache.
* gnu/packages/golang-web.scm (go-github-com-gregjones-httpcache): New
variable.
Change-Id: I2ba0196fd1de63f26a814dc96ff64a6fb5379043
---
gnu/packages/golang-web.scm | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3e60bfaf33..fd9384d060 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -21,7 +21,7 @@
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
-;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -868,6 +868,34 @@ (define-public go-github-com-gorilla-websocket
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-gregjones-httpcache
+ (let ((commit "901d90724c7919163f472a9812253fb26761123d")
+ (revision "0"))
+ (package
+ (name "go-github-com-gregjones-httpcache")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gregjones/httpcache")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05r0xq51vfb55di11m7iv19341d73f7in33vq1ihcqs1nffdwiq0"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gregjones/httpcache"))
+ (synopsis "Transport for @code{http.Client} that will cache responses")
+ (description
+ "Package @code{httpcache} provides a @code{http.RoundTripper}
+implementation that works as a mostly @url{https://tools.ietf.org/html/rfc7234, RFC
+7234} compliant cache for HTTP responses. It is only suitable for use as a
+\"private\" cache (i.e. for a web-browser or an API-client and not for a shared
+proxy).")
+ (home-page "https://github.com/gregjones/httpcache")
+ (license license:expat))))
+
(define-public go-github-com-hjson-hjson-go
(package
(name "go-github-com-hjson-hjson-go")
base-commit: 171ac4fa4f5e5dd2f2e110487de5d41b5b79a564
--
2.41.0
[-- Attachment #1.3: Type: text/plain, Size: 216 bytes --]
- avp
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]
next reply other threads:[~2024-01-16 21:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-16 21:13 Artyom V. Poptsov [this message]
2024-01-22 19:41 ` [bug#68518] [PATCH] gnu: Add go-github-com-gregjones-httpcache Sharlatan Hellseher
2024-02-01 19:48 ` Artyom V. Poptsov
2024-02-02 17:01 ` bug#68518: " Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zfx5t21j.fsf@gmail.com \
--to=poptsov.artyom@gmail.com \
--cc=68518@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).