guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/26: gnu: Add go-github-com-pires-go-proxyproto.


From: guix-commits
Subject: 05/26: gnu: Add go-github-com-pires-go-proxyproto.
Date: Tue, 7 May 2024 18:24:50 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit bea3defe234354093bde1e44b1f6f1df88c5360e
Author: Jesse Eisses <jesse@eisses.email>
AuthorDate: Fri Apr 26 10:01:51 2024 +0200

    gnu: Add go-github-com-pires-go-proxyproto.
    
    * gnu/packages/golang-xyz.scm (go-github-com-pires-go-proxyproto): New 
variable.
    
    Change-Id: Iec8e8ead7e18cbbd9be00ec398d11e632e4b2ac4
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/golang-web.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d0f51cfd79..f7de466619 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1564,6 +1564,36 @@ which produce colorized output using 
github.com/fatih/color.")
     (description "OpenTracing-Go is a Go implementation of the OpenTracing 
API.")
     (license license:asl2.0)))
 
+(define-public go-github-com-pires-go-proxyproto
+  (package
+    (name "go-github-com-pires-go-proxyproto")
+    (version "0.7.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pires/go-proxyproto";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1p18w555xp187fl807h1yd092cvs8jarp98pa76zl84rxlk4k2h4"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.18
+      #:import-path "github.com/pires/go-proxyproto"))
+    (home-page "https://github.com/pires/go-proxyproto";)
+    (synopsis "Implementation of the PROXY protocol")
+    (description
+     "Package proxyproto implements Proxy Protocol (v1 and v2) parser and
+writer, as per specification:
+@@url{https://www.haproxy.org/download/2.3/doc/proxy-protocol.txt}.  It is to
+be used in one of or both proxy clients and proxy servers that need to support
+said protocol.  Both protocol versions, 1 (text-based) and 2 (binary-based)
+are supported. @acronym{TLV, tag-length-value} parsers extensions comming with
+this library support AWS, Azure and GCP.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-pkg-sftp
   (package
     (name "go-github-com-pkg-sftp")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]