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

commit bc938be185a922eb74a74ee2eb04847c66544064
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 14d4d8d008..673908f2f3 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -13819,6 +13819,40 @@ StatHat} account.")
 REST APIs.")
     (license license:expat)))
 
+(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