gnu: Add go-0xacab-org-leap-lb.

* gnu/packages/golang-web.scm (go-0xacab-org-leap-lb): New variable.

Change-Id: I709977aa4f6f95bebd09a427f0cd0dae8bbde512
This commit is contained in:
Sharlatan Hellseher 2025-03-30 18:52:42 +01:00
parent 8cf9e46974
commit 47b8b2e491
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")