diff options
| author | Arthur Rodrigues <arthurhdrodrigues@proton.me> | 2026-01-29 10:41:01 -0300 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-11 22:21:31 +0000 |
| commit | 8d4f3d8d352aa662a67b77b4144b223fdf79035d (patch) | |
| tree | 18dcf745dbcbae58781147b19b65b79d96bb8228 /gnu | |
| parent | e6d5ea5e77b64011ee87fcef61c3219b7af249dd (diff) | |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-web.scm | 25 |
1 files changed, 25 insertions, 0 deletions
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") |
