summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-10 08:33:05 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-22 20:13:05 +0100
commitb1d85e0905bde8840880bef517ab4aed77209834 (patch)
treeb264f45fd1cefec287baf8cd1de14e3d27135431
parentc3113d408ac11397a15e05b6945ef2de455e7262 (diff)
gnu: Add go-github-com-armon-go-proxyproto.
* gnu/packages/golang-web.scm (go-github-com-armon-go-proxyproto): New variable. Change-Id: Idc275115a60fa2f167470fa8d74d52816fef57ba
-rw-r--r--gnu/packages/golang-web.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c2342cc05de..32a4dc134a1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -699,6 +699,33 @@ that of BeautifulSoup.")
the parse trees produced by the html package.")
(license license:bsd-2)))
+(define-public go-github-com-armon-go-proxyproto
+ (package
+ (name "go-github-com-armon-go-proxyproto")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/armon/go-proxyproto")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0v7zb7wzbw2xzvxlklrava1vni1w4d9z8j6xaq1xylw8fd0wrdy1"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/armon/go-proxyproto"))
+ (home-page "https://github.com/armon/go-proxyproto")
+ (synopsis "Handle HAProxy Proxy Protocol in Golang")
+ (description
+ "This package implements a functionality to be used for servers listening
+behind HAProxy of Amazon ELB load balancers. Those load balancers support the
+use of a @url{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt, proxy
+protocol}, which provides a simple mechansim for the server to get the address
+of the client instead of the load balancer.")
+ (license license:expat)))
+
(define-public go-github-com-armon-go-socks5
(package
(name "go-github-com-armon-go-socks5")