summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <[email protected]>2025-01-12 00:36:52 +0000
committerSharlatan Hellseher <[email protected]>2025-01-21 23:48:00 +0000
commitc710002f1ca8ee31404b204c5619d2589c391ce9 (patch)
tree99ba5816d6832322a865d01f03f3b1bb47f7cdea /gnu/packages/golang-web.scm
parentf8b6d1672f76005b9702624b2b2bc490a7225f42 (diff)
gnu: Add go-0xacab-org-leap-obfsvpn.
* gnu/packages/golang-web.scm (go-0xacab-org-leap-obfsvpn): New variable. Change-Id: I5335db751f755b283919f7c153c0d30a5c7b546b
Diffstat (limited to 'gnu/packages/golang-web.scm')
-rw-r--r--gnu/packages/golang-web.scm46
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index bcc0cc0a84..e82cc9cf15 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -89,6 +89,52 @@
;;; Libraries:
;;;
+(define-public go-0xacab-org-leap-obfsvpn
+ (package
+ (name "go-0xacab-org-leap-obfsvpn")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://0xacab.org/leap/obfsvpn.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1iq3m2j6m9n1h9rkysaj97nnqx65fn7vz9jskl4qa4rwh002pv3d"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; It's the same project.
+ (substitute* (find-files "." "\\.go$")
+ (("git.torproject.org/pluggable-transports/goptlib.git")
+ (string-append "gitlab.torproject.org/tpo/anti-censorship"
+ "/pluggable-transports/goptlib")))))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:skip-build? #t
+ #:import-path "0xacab.org/leap/obfsvpn"))
+ (native-inputs
+ (list go-github-com-spf13-pflag
+ go-github-com-spf13-viper))
+ (propagated-inputs
+ (list go-github-com-labstack-echo-v4
+ go-github-com-quic-go-quic-go
+ go-github-com-sirupsen-logrus
+ go-github-com-xtaci-kcp-go-v5
+ go-gitlab-com-yawning-obfs4-git
+ go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-goptlib))
+ (home-page "https://0xacab.org/leap/obfsvpn")
+ (synopsis "OBFS4 client and server proxies")
+ (description
+ "The @@code{obfsvpn} module contains a Go package that provides server
+and client components to use variants of the obfs4 obfuscation protocol. It
+is intended to be used as a drop-in Pluggable Transport for @code{OpenVPN}
+connections
+(although it can be used for other, more generic purposes).")
+ (license license:bsd-2)))
+
(define-public go-cloud-google-com-go-compute-metadata
(package
(name "go-cloud-google-com-go-compute-metadata")