gnu: Add go-github-com-lestrrat-go-httpcc.

* gnu/packages/golang-web.scm (go-github-com-lestrrat-go-httpcc): New
variable.

Change-Id: I090fd09e5a5b53a6690e5843ae906f7f1c10da87
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Arthur Rodrigues 2025-08-17 15:54:08 -03:00 committed by Sharlatan Hellseher
parent ad6aa957a0
commit fd2c10d714
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -42,6 +42,7 @@
;;; Copyright © 2025 André Batista <nandre@riseup.net> ;;; Copyright © 2025 André Batista <nandre@riseup.net>
;;; Copyright © 2025 Jussi Timperi <jussi.timperi@iki.fi> ;;; Copyright © 2025 Jussi Timperi <jussi.timperi@iki.fi>
;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in> ;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;; Copyright © 2025 Arthur Rodrigues <arthurhdrodrigues@proton.me>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -5749,6 +5750,33 @@ Features:
@end itemize") @end itemize")
(license license:expat))) (license license:expat)))
(define-public go-github-com-lestrrat-go-httpcc
(package
(name "go-github-com-lestrrat-go-httpcc")
(version "1.0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/lestrrat-go/httpcc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "12wsr6ipl3h7iaq7s7a2mgkbli9z5zpxj9dxqhzqn33akb055i28"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/lestrrat-go/httpcc"))
(native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/lestrrat-go/httpcc")
(synopsis "HTTP/1.1 Cache-Control header parser for Golang")
(description
"This package provides a Go library that parses HTTP/1.1 Cache-Control
header and returns a struct that is convenient for the end-user to do what
they will with.")
(license license:expat)))
(define-public go-github-com-letsencrypt-challtestsrv (define-public go-github-com-letsencrypt-challtestsrv
(package (package
(name "go-github-com-letsencrypt-challtestsrv") (name "go-github-com-letsencrypt-challtestsrv")