diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-11 19:42:23 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:47:59 +0000 |
commit | a985e20c47b7abdb01c48d4b3d47f4bb78635d82 (patch) | |
tree | bfdbd7ee562089f6785f35400a072b6a26c1e2bc /gnu/packages/golang-web.scm | |
parent | 9b601ba37f8fa073ba07737239db79849d06d33a (diff) |
gnu: Add go-github-com-realclientip-realclientip-go.
* gnu/packages/golang-web.scm (go-github-com-realclientip-realclientip-go): New variable.
Change-Id: I523b5a6435567e02e2f7123a560cb9c414681263
Diffstat (limited to 'gnu/packages/golang-web.scm')
-rw-r--r-- | gnu/packages/golang-web.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 2b745a7bde..e9c29c769a 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -6971,6 +6971,30 @@ of the specification.") library.") (license license:bsd-2))) +(define-public go-github-com-realclientip-realclientip-go + (package + (name "go-github-com-realclientip-realclientip-go") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/realclientip/realclientip-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1mg3nrb4b1q38q9j1diz4pl2nqpa3ay45gi81i6ma3bvss8v7ri3")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/realclientip/realclientip-go")) + (home-page "https://github.com/realclientip/realclientip-go") + (synopsis "Go reference implementation of \"real\" client IP algorithms") + (description + "Package realclientip provides strategies for obtaining the \"real\" +client IP from HTTP requests.") + (license license:bsd-0))) + (define-public go-github-com-rs-cors (package (name "go-github-com-rs-cors") |