[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
197/401: gnu: go-github-com-emicklei-go-restful-v3: Fix build.
From: |
guix-commits |
Subject: |
197/401: gnu: go-github-com-emicklei-go-restful-v3: Fix build. |
Date: |
Thu, 26 Dec 2024 19:30:56 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 39a01da4bf76afb7ed85bd507772451302306cec
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Dec 15 20:45:55 2024 +0000
gnu: go-github-com-emicklei-go-restful-v3: Fix build.
* gnu/packages/golang-web.scm (go-github-com-emicklei-go-restful-v3)
[arguments]<phases>: Add 'remove-examples.
[description]: Start from a new line.
Change-Id: I9e1ccd5a07b4f0bde2bdd40764094783460cf235
---
gnu/packages/golang-web.scm | 42 ++++++++++++++++++++++++++++++++++++++----
1 file changed, 38 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index e28a1a79d8..be086eae10 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1579,12 +1579,20 @@ RFC 5321.")
(base32 "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
(build-system go-build-system)
(arguments
- '(#:import-path "github.com/emicklei/go-restful"))
+ (list
+ #:import-path "github.com/emicklei/go-restful"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file-recursively "examples")))))))
(home-page "https://github.com/emicklei/go-restful")
(synopsis "Build REST-style web services using Go")
- (description "This package provides @code{go-restful}, which helps
-developers to use @code{http} methods explicitly and in a way that's
-consistent with the HTTP protocol definition.")
+ (description
+ "This package provides @code{go-restful}, which helps developers to use
+@code{http} methods explicitly and in a way that's consistent with the HTTP
+protocol definition.")
(license license:expat)))
(define-public go-github-com-evanphx-json-patch
@@ -4264,6 +4272,32 @@ multistream-select protocol. The protocol is defined at
which produce colorized output using github.com/fatih/color.")
(license license:expat)))
+(define-public go-github-com-nytimes-gziphandler
+ (package
+ (name "go-github-com-nytimes-gziphandler")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nytimes/gziphandler")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0rhrjlw220hnymzfccm0yir3pc9dpj7h3gwzhzq2cbsb3hhsqvyy"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/NYTimes/gziphandler"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/NYTimes/gziphandler")
+ (synopsis "Middleware to gzip HTTP responses")
+ (description
+ "This is a tiny Go package which wraps HTTP handlers to transparently
+gzip the response body, for clients which support it.")
+ (license license:asl2.0)))
+
(define-public go-github-com-opentracing-contrib-go-stdlib
(package
(name "go-github-com-opentracing-contrib-go-stdlib")
- 386/401: gnu: Add go-github-com-gobwas-httphead., (continued)
- 386/401: gnu: Add go-github-com-gobwas-httphead., guix-commits, 2024/12/26
- 73/401: gnu: Add go-github-com-buildkite-shellwords., guix-commits, 2024/12/26
- 135/401: gnu: Add go-github-com-cockroachdb-apd., guix-commits, 2024/12/26
- 392/401: gnu: Add go-fxlint., guix-commits, 2024/12/26
- 148/401: gnu: Add go-github-com-viant-toolbox., guix-commits, 2024/12/26
- 175/401: gnu: Add go-gitlab-com-yawning-obfs4-git., guix-commits, 2024/12/26
- 173/401: gnu: go-github-com-dsnet-golib: Adjust inputs., guix-commits, 2024/12/26
- 198/401: gnu: Add go-github-com-google-gnostic-models., guix-commits, 2024/12/26
- 180/401: gnu: Add go-github-com-burntsushi-graphics-go., guix-commits, 2024/12/26
- 172/401: gnu: go-github-com-dsnet-compress: Fix tests., guix-commits, 2024/12/26
- 197/401: gnu: go-github-com-emicklei-go-restful-v3: Fix build.,
guix-commits <=
- 191/401: gnu: Add go-k8s-io-gengo-v2., guix-commits, 2024/12/26
- 195/401: gnu: Add go-sigs-k8s-io-structured-merge-diff-v4., guix-commits, 2024/12/26
- 342/401: gnu: go-gopkg-in-errgo-fmt-errors: Rename variable., guix-commits, 2024/12/26
- 360/401: gnu: Add go-github-com-go-yaml-yaml., guix-commits, 2024/12/26
- 362/401: gnu: go-github-com-oklog-ulid: Fix bulid., guix-commits, 2024/12/26
- 382/401: gnu: Add go-github-com-gin-gonic-gin., guix-commits, 2024/12/26
- 368/401: gnu: Add go-github-com-keybase-dbus., guix-commits, 2024/12/26
- 379/401: gnu: go-github-com-burntsushi-toml: Simplify., guix-commits, 2024/12/26
- 390/401: gnu: go-go-uber-org-multierr: Update to 1.11.0., guix-commits, 2024/12/26
- 396/401: gnu: go-github-com-willscott-goturn: Update to 0.0.0-20170802220503-19f41278d0c9., guix-commits, 2024/12/26