all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#52972] [PATCH] gnu: Add go-github-com-dreamacro-go-shadowsocks2
@ 2022-01-03  5:01 路辉
  2022-02-15 14:57 ` bug#52972: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: 路辉 @ 2022-01-03  5:01 UTC (permalink / raw)
  To: 52972

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-gnu-Add-go-github-com-dreamacro-go-shadowsocks2.patch --]
[-- Type: text/x-patch, Size: 2251 bytes --]

From 22a4cad70431f236c41bf1b59ea70c437e09a68f Mon Sep 17 00:00:00 2001
From: Lu Hui <luhux76@gmail.com>
Date: Mon, 3 Jan 2022 12:54:50 +0800
Subject: [PATCH] gnu: Add go-github-com-dreamacro-go-shadowsocks2

* gnu/packages/golang.scm (go-github-com-dreamacro-go-shadowsocks2): New variable.
---
 gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1ac80f52ad..b1d18e333b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -32,6 +32,7 @@
 ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
 ;;; Copyright © 2021 Chadwain Holness <chadwainholness@gmail.com>
 ;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
+;;; Copyright © 2021 Lu Hui <luhux76@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -9236,3 +9237,33 @@ (define-public go-github-com-alecthomas-units
        "This library provides unit multipliers and functions for Go.")
       (home-page "https://github.com/alecthomas/units")
       (license license:expat))))
+
+(define-public go-github-com-dreamacro-go-shadowsocks2
+  (package
+    (name "go-github-com-dreamacro-go-shadowsocks2")
+    (version "0.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Dreamacro/go-shadowsocks2")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0sjr3r77fav6q0ii6dnp4px9gaz7cq861a0yxppvb6a58420bx3h"))))
+    (build-system go-build-system)
+    (arguments '(#:import-path "github.com/Dreamacro/go-shadowsocks2"))
+    (propagated-inputs `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
+    (home-page "https://github.com/Dreamacro/go-shadowsocks2")
+    (synopsis "Shadowsocks implementation in Go")
+    (description
+     "This package is @code{shadowsocks} implementation in Go
+
+Features:
+@itemize
+@item SOCKS5 proxy
+@item Support for Netfilter TCP redirect (IPv6 should work but not tested)
+@item UDP tunneling (e.g. relay DNS packets)
+@item TCP tunneling (e.g. benchmark with iperf3)
+@end itemize")
+    (license license:asl2.0)))
-- 
2.34.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#52972: [PATCH] gnu: Add go-github-com-dreamacro-go-shadowsocks2
  2022-01-03  5:01 [bug#52972] [PATCH] gnu: Add go-github-com-dreamacro-go-shadowsocks2 路辉
@ 2022-02-15 14:57 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-02-15 14:57 UTC (permalink / raw)
  To: 路辉; +Cc: 52972-done

Hi,

路辉 <luhux76@gmail.com> skribis:

> From 22a4cad70431f236c41bf1b59ea70c437e09a68f Mon Sep 17 00:00:00 2001
> From: Lu Hui <luhux76@gmail.com>
> Date: Mon, 3 Jan 2022 12:54:50 +0800
> Subject: [PATCH] gnu: Add go-github-com-dreamacro-go-shadowsocks2
>
> * gnu/packages/golang.scm (go-github-com-dreamacro-go-shadowsocks2): New variable.

Applied after running ‘guix style’, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-15 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03  5:01 [bug#52972] [PATCH] gnu: Add go-github-com-dreamacro-go-shadowsocks2 路辉
2022-02-15 14:57 ` bug#52972: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.