~ruther/guix-local

fd2c10d71408e7f23f49e1de614b5ef5d5866003 — Arthur Rodrigues 1 year, 1 month ago ad6aa95
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>
1 files changed, 28 insertions(+), 0 deletions(-)

M gnu/packages/golang-web.scm
M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +28 -0
@@ 42,6 42,7 @@
;;; Copyright © 2025 André Batista <nandre@riseup.net>
;;; Copyright © 2025 Jussi Timperi <jussi.timperi@iki.fi>
;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;; Copyright © 2025 Arthur Rodrigues <arthurhdrodrigues@proton.me>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 5749,6 5750,33 @@ Features:
@end itemize")
    (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
  (package
    (name "go-github-com-letsencrypt-challtestsrv")