guix_mirror_bot pushed a commit to branch go-team
in repository guix.

commit 36f42b320ad392b1e2f42049942d5836f7012134
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Feb 11 11:12:22 2026 +0000

    gnu: Add go-github-com-swaggo-echo-swagger.
    
    * gnu/packages/golang-web.scm (go-github-com-swaggo-echo-swagger): New 
variable.
    
    Change-Id: Ibf763144acbeb47cda16e4fcb9cc097808458a26
---
 gnu/packages/golang-web.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 172f95ee01..5d4a69ee6a 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -4585,6 +4585,40 @@ certificate handling, and tools for interacting with 
Sigstore infrastructure
 like Fulcio and Rekor.")
     (license license:asl2.0)))
 
+(define-public go-github-com-swaggo-echo-swagger
+  (package
+    (name "go-github-com-swaggo-echo-swagger")
+    (version "1.4.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/swaggo/echo-swagger";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1bh1rmf16f5f6qhz8308v7kz5dw04sjwvisbbwjd7hkr54hghkvl"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/swaggo/echo-swagger"
+      #:embed-files
+      #~(list ".*\\.png" ".*\\.json" ".*\\.css" ".*\\.html"
+              ".*\\.js" ".*\\.map")))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-github-com-ghodss-yaml
+           go-github-com-labstack-echo-v4
+           go-github-com-swaggo-files-v2
+           go-github-com-swaggo-swag))
+    (home-page "https://github.com/swaggo/echo-swagger";)
+    (synopsis "Echo middleware to generate RESTful API documentation with 
Swagger")
+    (description
+     "This package provides echo (web framework) middleware to automatically
+generate RESTful API documentation with Swagger 2.0.")
+    (license license:expat)))
+
 (define-public go-github-com-swaggo-files-v2
   (package
     (name "go-github-com-swaggo-files-v2")

Reply via email to