sharlatan pushed a commit to branch go-team
in repository guix.
commit 11a52a719c223cdcb1b89a471c2bac3a63a2715e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 30 18:52:42 2025 +0100
gnu: Add go-0xacab-org-leap-lb.
* gnu/packages/golang-web.scm (go-0xacab-org-leap-lb): New variable.
Change-Id: I709977aa4f6f95bebd09a427f0cd0dae8bbde512
---
gnu/packages/golang-web.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3b8c614c49..1950c7f601 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -94,6 +94,42 @@
;;; Libraries:
;;;
+(define-public go-0xacab-org-leap-lb
+ (package
+ (name "go-0xacab-org-leap-lb")
+ (version "0.0.0-20210225193050-570f848edccf")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://0xacab.org/leap/lb.git")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "161bznz4srgvqr7q18z63chps52lvdfnldbf6cgm5sw1ly5vwjwi"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; Module name has not been changed upstream.
+ (substitute* (find-files "." "\\.go$")
+ (("git.autistici.org/ale/lb")
+ "0xacab.org/leap/lb"))))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.22
+ #:import-path "0xacab.org/leap/lb"))
+ (propagated-inputs
+ (list go-github-com-golang-protobuf
+ go-google-golang-org-grpc))
+ (home-page "https://0xacab.org/leap/lb")
+ (synopsis "Smart load balancing Golang library")
+ (description
+ "This package provides an implementation of smart load balancing of
simple,
+redirect-based (i.e. not directly reverse proxied) services. It's an
+alternative fork of https://git.autistici.org/ale/lb.")
+ (license license:gpl3+)))
+
(define-public go-0xacab-org-leap-obfsvpn
(package
(name "go-0xacab-org-leap-obfsvpn")