guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 8d4f3d8d352aa662a67b77b4144b223fdf79035d
Author: Arthur Rodrigues <[email protected]>
AuthorDate: Thu Jan 29 10:41:01 2026 -0300

    gnu: Add go-github-com-tomasen-realip.
    
    * gnu/packages/golang-web.scm (go-github-com-tomasen-realip): New variable.
    
    Change-Id: I64f82a36126ac7db4dd83380ffc1e9e98b3cfd18
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 16771183ca..4f942b045b 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -14020,6 +14020,31 @@ AWS SDK.")
      (list go-github-com-aws-aws-sdk-go
            go-github-com-jpillora-backoff)))))
 
+(define-public go-github-com-tomasen-realip
+  (package
+    (name "go-github-com-tomasen-realip")
+    (version "0.0.0-20180522021738-f0c99a92ddce")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/tomasen/realip";)
+              (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1iz2cwks2ywwvvnbfmw3pfyz4ql7z0f8s9sdj6pzirpp75zar9nn"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/tomasen/realip"))
+    (home-page "https://github.com/tomasen/realip";)
+    (synopsis "Extract real client IP from Go requests")
+    (description
+     "This package provides a Golang library to determine the real client IP
+address by inspecting common headers such as X-Forwarded-For and X-Real-IP,
+with safe fallbacks in the presence of proxies.")
+    (license license:expat)))
+
 (define-public go-github-com-tomnomnom-linkheader
   (package
     (name "go-github-com-tomnomnom-linkheader")

Reply via email to