unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#48729] Bitmask VPN
@ 2021-05-29 10:57 Raghav Gururajan via Guix-patches via
  2021-05-29 11:14 ` [bug#48729] [PATCH v1 00/24]: " Raghav Gururajan via Guix-patches via
                   ` (18 more replies)
  0 siblings, 19 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 10:57 UTC (permalink / raw)
  To: 48729; +Cc: jgart


[-- Attachment #1.1: Type: text/plain, Size: 172 bytes --]

Hello Guix!

I am opening this thread for patch-series for packaging Bitmask VPN and 
its dependencies.

Jorge (jgart) and I, are working on this.

Regards,
RG.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

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

* [bug#48729] [PATCH v1 00/24]: Bitmask VPN
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:14 ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:14 UTC (permalink / raw)
  To: 48729; +Cc: jgart


[-- Attachment #1.1.1: Type: text/plain, Size: 307 bytes --]

Hello Guix!

This v1 patch-series is *not* complete.

It has following issues:

[1] Last patch has to be finished.
[2] Failing tests has to be re-visited.
[3] Trailing `#t` in phases has to be removed.
[4] Synopsis and Description requires revision.
[5] Some lines are too long.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

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

* [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
  2021-05-29 11:14 ` [bug#48729] [PATCH v1 00/24]: " Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15 ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 02/24] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
                     ` (18 more replies)
  2021-05-29 11:18 ` [bug#48729] [PATCH v1 21/24] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
                   ` (16 subsequent siblings)
  18 siblings, 19 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-rakyll-statik): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8c3c81ceda..7aac8ec4a8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-rakyll-statik
+  (package
+    (name "go-github-com-rakyll-statik")
+    (version "0.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/rakyll/statik")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/rakyll/statik"))
+    (home-page "https://github.com/rakyll/statik/")
+    (synopsis "Embed files into a Go executable")
+    (description "Statik allows you to embed a directory of static files into
+your Go binary to be later served from an http.")
+    (license license:asl2.0)))
+
 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
 ;; implementation, and gccgo-5 a complete implementation of go-1.4.  Ultimately
-- 
2.31.1





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

* [bug#48729] [PATCH v1 02/24] gnu: Add go-github-com-dchest-siphash.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 03/24] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
                     ` (17 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-dchest-siphash): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7aac8ec4a8..7412153e76 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-dchest-siphash
+  (package
+    (name "go-github-com-dchest-siphash")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/dchest/siphash")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "08s076y7vmjqnq7jz0762hkm896r6r31v8b31a3gy0n8rfa01k8k"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/dchest/siphash"))
+    (home-page "https://github.com/dchest/siphash")
+    (synopsis "Go library for pseudorandom functions")
+    (description "SipHash is a family of pseudorandom functions (PRFs) optimized
+for speed on short messages.")
+    (license license:cc0)))
+
 (define-public go-github-com-rakyll-statik
   (package
     (name "go-github-com-rakyll-statik")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 03/24] gnu: Add go-github-com-emersion-go-autostart.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 02/24] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 04/24] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
                     ` (16 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-emersion-go-autostart): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7412153e76..982cee390e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-emersion-go-autostart
+  (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
+        (revision "39"))
+    (package
+      (name "go-github-com-emersion-go-autostart")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/emersion/go-autostart")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0cqqvbzn32xv5lknfygrx01rx2sc6pi833k7008nlk9lsfgry06v"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/emersion/go-autostart"))
+      (synopsis "Go library to run a command after login")
+      (description "Go library to run a command after login.")
+      (home-page "https://github.com/emersion/go-autostart")
+      (license license:expat))))
+
 (define-public go-github-com-dchest-siphash
   (package
     (name "go-github-com-dchest-siphash")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 04/24] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 02/24] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 03/24] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 05/24] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
                     ` (15 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-apparentlymart-go-openvpn-mgmt): New variable.
---
 gnu/packages/golang.scm | 79 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 982cee390e..5e5791b5d4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,85 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-apparentlymart-go-openvpn-mgmt
+  (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
+        (revision "14"))
+    (package
+      (name "go-github-com-apparentlymart-go-openvpn-mgmt")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/apparentlymart/go-openvpn-mgmt")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dn431jnswg5ns1ah10wswnw6wiv48zq21zr5xp1178l4waswj7k"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/apparentlymart/go-openvpn-mgmt"
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'build
+             (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'build)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:build-flags build-flags
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))
+               #t))
+           (replace 'check
+             (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'check)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:tests? tests?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))
+               #t))
+           (replace 'install
+             (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'install)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:install-source? install-source?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))
+               #t)))))
+      (synopsis "Go client library for OpenVPN's management protocol")
+      (description "This package implements a client for the OpenVPN management
+interface.  It can be used to monitor and control an OpenVPN process running with
+its management port enabled.")
+      (home-page "https://github.com/apparentlymart/go-openvpn-mgmt")
+      (license license:expat))))
+
 (define-public go-github-com-emersion-go-autostart
   (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
         (revision "39"))
-- 
2.31.1





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

* [bug#48729] [PATCH v1 05/24] gnu: Add go-github-com-keybase-go-ps.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 04/24] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 06/24] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
                     ` (14 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-keybase-go-ps): New variable.
---
 gnu/packages/golang.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5e5791b5d4..3cb2d0d9d4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,43 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-keybase-go-ps
+  (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
+        (revision "45"))
+    (package
+      (name "go-github-com-keybase-go-ps")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/keybase/go-ps")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1la7m9pd1rrij727g34k9d2iapqwrkwdkqwpkbsbcq8ig0fg634h"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/keybase/go-ps"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'fix-tests
+             (lambda* (#:key inputs #:allow-other-keys)
+               (substitute* (find-files "." ".*test\\.go")
+                 (("/bin/sleep")
+                  (string-append (assoc-ref inputs "coreutils")
+                                 "/bin/sleep")))
+               #t)))))
+      (native-inputs
+       `(("coreutils" ,coreutils)
+         ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (synopsis "Process List Library")
+      (description "go-ps is a library for Go that implements OS-specific APIs
+to list and manipulate processes in a platform-safe way.")
+      (home-page "https://github.com/keybase/go-ps")
+      (license license:expat))))
+
 (define-public go-github-com-apparentlymart-go-openvpn-mgmt
   (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
         (revision "14"))
-- 
2.31.1





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

* [bug#48729] [PATCH v1 06/24] gnu: Add go-github-com-sevlyar-go-daemon.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 05/24] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 07/24] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
                     ` (13 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-sevlyar-go-daemon): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3cb2d0d9d4..773f844bcd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-sevlyar-go-daemon
+  (package
+    (name "go-github-com-sevlyar-go-daemon")
+    (version "0.1.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/sevlyar/go-daemon")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1y3gnxaifykcjcbzx91lz9bc93b95w3xj4rjxjbii26pm3j7gqyk"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/sevlyar/go-daemon"))
+    (propagated-inputs
+     `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/sevlyar/go-daemon")
+    (synopsis "Library for writing system daemons")
+    (description "go-daemon is a library for writing system daemons in golang.")
+    (license license:expat)))
+
 (define-public go-github-com-keybase-go-ps
   (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
         (revision "45"))
-- 
2.31.1





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

* [bug#48729] [PATCH v1 07/24] gnu: Add go-torproject-org-pluggable-transports-goptlib.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 06/24] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 08/24] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
                     ` (12 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-torproject-org-pluggable-transports-goptlib): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 773f844bcd..3caaf1816c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,28 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-torproject-org-pluggable-transports-goptlib
+  (package
+    (name "go-torproject-org-pluggable-transports-goptlib")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://git.torproject.org/pluggable-transports/goptlib")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "git.torproject.org/pluggable-transports/goptlib"))
+    (home-page "https://gitweb.torproject.org/pluggable-transports/goptlib")
+    (synopsis "Library for writing Tor Pluggable-Transports")
+    (description "goptlib is a library for writing Tor pluggable transports in Go.")
+    (license license:cc0)))
+
 (define-public go-github-com-sevlyar-go-daemon
   (package
     (name "go-github-com-sevlyar-go-daemon")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 08/24] gnu: Add go-github-com-willscott-goturn.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 07/24] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 09/24] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
                     ` (11 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-willscott-goturn): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3caaf1816c..03ad22d385 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,31 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-willscott-goturn
+  (let ((commit "19f41278d0c9251d64e0ee29f37d51e87a24a97b")
+        (revision "68"))
+    (package
+      (name "go-github-com-willscott-goturn")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/willscott/goturn")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0zwvhfznr84ayzknn9flh65nvqjsixisgy9fkhz2jlahl1ldqcq7"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/willscott/goturn"))
+      (synopsis "A golang TURN dialer")
+      (description "GoTURN is a library providing a Go interface compatible with
+the golang proxy package which connects through a TURN relay.")
+      (home-page "https://github.com/willscott/goturn")
+      (license license:bsd-3))))
+
 (define-public go-torproject-org-pluggable-transports-goptlib
   (package
     (name "go-torproject-org-pluggable-transports-goptlib")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 09/24] gnu: Add go-github-com-operatorfoundation-obfs4.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 08/24] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 10/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
                     ` (10 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-operatorfoundation-obfs4): New variable.
---
 gnu/packages/golang.scm | 151 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 151 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 03ad22d385..b145a9c09b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,157 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-obfs4
+  (package
+    (name "go-github-com-operatorfoundation-obfs4")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/obfs4")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0s730xagdxs66wfh65hb5v9a5h01q5ncic3pyij0a043scagizgr"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/OperatorFoundation/obfs4"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-source
+           (lambda _
+             (substitute* (find-files "." "\\.go$")
+               ;; Drop '.git' suffix in import path of goptlib.
+               (("goptlib\\.git") "goptlib"))
+             #t))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               "github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               "github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               ;; ERROR: Println arg dialFn is a func value, not called.
+               ;;"github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn.
+               ;;"github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn
+               ;;"github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               ;; ERROR: Println call has possible formatting directive %s.
+               ;;"github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               "github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               "github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))
+             #t)))))
+    (propagated-inputs
+     `(("go-github-com-dchest-siphash" ,go-github-com-dchest-siphash)
+       ("go-github-com-operatorfoundation-ed25519"
+        ,go-github-com-operatorfoundation-ed25519)
+       ("go-github-com-willscott-goturn" ,go-github-com-willscott-goturn)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-torproject-org-pluggable-transports-goptlib"
+        ,go-torproject-org-pluggable-transports-goptlib)))
+    (home-page "https://github.com/OperatorFoundation/obfs4")
+    (synopsis "The Obfourscator")
+    (description "Obfs4 is a look-like nothing obfuscation protocol that
+incorporates ideas and concepts from Philipp Winter's ScrambleSuit protocol.
+The notable differences between ScrambleSuit and obfs4 are:
+@itemize
+@The handshake always does a full key exchange (no such thing as a Session
+Ticket Handshake).
+@The handshake uses the Tor Project's ntor handshake with public keys obfuscated
+via the Elligator 2 mapping.
+@The link layer encryption uses NaCl secret boxes (Poly1305/XSalsa20).
+@end itemize")
+    (license license:bsd-2)))
+
 (define-public go-github-com-willscott-goturn
   (let ((commit "19f41278d0c9251d64e0ee29f37d51e87a24a97b")
         (revision "68"))
-- 
2.31.1





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

* [bug#48729] [PATCH v1 10/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 09/24] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 11/24] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
                     ` (9 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-ipc): New variable.
---
 gnu/packages/golang.scm | 77 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b145a9c09b..1f44f36665 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,83 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-shapeshifter-ipc
+  (package
+    (name "go-github-com-operatorfoundation-shapeshifter-ipc")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/shapeshifter-ipc")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1q1fcnllg462nfca16s5mr0n2jh92x3hj946qnaqc682phjz04lg"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f                      ; ERROR: undefined: Args.
+       #:unpack-path "github.com/OperatorFoundation/shapeshifter-ipc"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))
+             #t)))))
+    (home-page "https://github.com/OperatorFoundation/shapeshifter-ipc")
+    (synopsis "Go implementation of IPC protocol")
+    (description "Shapeshifter IPC is a library for Go implementing the IPC
+protocol from the Pluggable Transports 2.0 specification.")
+    (license license:expat)))
+
 (define-public go-github-com-operatorfoundation-obfs4
   (package
     (name "go-github-com-operatorfoundation-obfs4")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 11/24] gnu: Add go-github-com-op-go-logging.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (8 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 10/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 12/24] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
                     ` (8 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-op-go-logging): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1f44f36665..b30ea32a26 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-op-go-logging
+  (package
+    (name "go-github-com-op-go-logging")
+    (version "1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/op/go-logging")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01a6lkpj5p82gplddh55az194s9y3014p4j8x4zc8yv886z9c8gn"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f ; ERROR: incorrect callpath: String.rec...a.b.c.Info.
+       #:import-path "github.com/op/go-logging"))
+    (home-page "https://github.com/op/go-logging")
+    (synopsis "Golang logging library")
+    (description "go-logging is a logging library for Go.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-operatorfoundation-shapeshifter-ipc
   (package
     (name "go-github-com-operatorfoundation-shapeshifter-ipc")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 12/24] gnu: Add go-github-com-blanu-dust.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (9 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 11/24] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-blanu-dust): New variable.
---
 gnu/packages/golang.scm | 122 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 122 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b30ea32a26..d7f1d90231 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,128 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-blanu-dust
+  (package
+    (name "go-github-com-blanu-dust")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/blanu/Dust")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lya21w06ramq37af5hdiafbrv5k1csjm7k7m00v0bfxg3ni01bs"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/blanu/Dust"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               "github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               ;; Repository is missing test files directory.
+               ;;"github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               "github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))
+             #t)))))
+    (propagated-inputs
+     `(("go-github-com-operatorfoundation-ed25519"
+        ,go-github-com-operatorfoundation-ed25519)
+       ("go-github-com-op-go-logging" ,go-github-com-op-go-logging)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
+    (home-page "github.com/blanu/Dust")
+    (synopsis "Censorship-Resistant Internet Transport Protocol")
+    (description "Dust is an Internet protocol designed to resist a number of
+attacks currently in active use to censor Internet communication.  While
+adherence to the theoretical maxims of cryptographic security are observed where
+possible, the focus of Dust is on real solutions to real attacks.")
+    (license
+     (list
+      ;; Skein.
+      license:bsd-2
+      ;; Others.
+      license:expat))))
+
 (define-public go-github-com-op-go-logging
   (package
     (name "go-github-com-op-go-logging")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 13/24] gnu: Add go-github-com-deckarep-golang-set.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (10 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 12/24] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 14/24] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-deckarep-golang-set): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d7f1d90231..93295bd3c7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,28 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-deckarep-golang-set
+  (package
+    (name "go-github-com-deckarep-golang-set")
+    (version "1.7.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/deckarep/golang-set")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y64c0p6a7ww5jp6adm6fm97vsni86njw8wkwxfmciy466vhl0lf"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/deckarep/golang-set"))
+    (home-page "https://github.com/deckarep/golang-set")
+    (synopsis "Set type for Go")
+    (description "golang-set is the set collection for the Go language.")
+    (license license:expat)))
+
 (define-public go-github-com-blanu-dust
   (package
     (name "go-github-com-blanu-dust")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 14/24] gnu: Add go-github-com-operatorfoundation-monolith-go.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (11 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 15/24] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-operatorfoundation-monolith-go): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 93295bd3c7..c1d9610f95 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,33 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-monolith-go
+  (package
+    (name "go-github-com-operatorfoundation-monolith-go")
+    (version "1.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/monolith-go")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "066bqlgw5h7a3kxswqlv734asb7nw2y6snsn09yqk0ixj23qw22s"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f ; ERROR: Generated bytes do not match correct answer.
+       #:unpack-path "github.com/OperatorFoundation/monolith-go"
+       #:import-path "github.com/OperatorFoundation/monolith-go/monolith"))
+    (propagated-inputs
+     `(("go-github-com-deckarep-golang-set"
+        ,go-github-com-deckarep-golang-set)))
+    (home-page "https://github.com/OperatorFoundation/monolith-go")
+    (synopsis "Go library for working with byte sequences")
+    (description "monolith-go is a Go library for working with byte sequences.")
+    (license license:expat)))
+
 (define-public go-github-com-deckarep-golang-set
   (package
     (name "go-github-com-deckarep-golang-set")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 15/24] gnu: Add go-github-com-opentracing-opentracing-go.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (12 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 14/24] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 16/24] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c1d9610f95..0bd61749df 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-opentracing-opentracing-go
+  (package
+    (name "go-github-com-opentracing-opentracing-go")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/opentracing/opentracing-go")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04rgdwl29kimp2wnm4dycnzp7941hvpj6wym85x23c6fclacm94h"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/opentracing/opentracing-go"))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (home-page "https://github.com/opentracing/opentracing-go")
+    (synopsis "OpenTracing API for Go")
+    (description "opentracing-go is a Go platform API for OpenTracing.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-operatorfoundation-monolith-go
   (package
     (name "go-github-com-operatorfoundation-monolith-go")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 16/24] gnu: Add go-github-com-mufti1-interconv.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (13 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 15/24] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 17/24] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-mufti1-interconv): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0bd61749df..3360b7e51b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,31 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-mufti1-interconv
+  (let ((commit "d7c72925c6568d60d361757bb9f2d252dcca745c")
+        (revision "28"))
+    (package
+      (name "go-github-com-mufti1-interconv")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/mufti1/interconv")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "13f5pvr74afa28pbpmgvjzjx68vv5zmrwlvxp7hr5bl5625zlxmy"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/mufti1/interconv"
+         #:import-path "github.com/mufti1/interconv/package"))
+      (synopsis "Convert interface into any data type")
+      (description "Convert interface into any data type.")
+      (home-page "https://github.com/mufti1/interconv")
+      (license license:expat))))
+
 (define-public go-github-com-opentracing-opentracing-go
   (package
     (name "go-github-com-opentracing-opentracing-go")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 17/24] gnu: Add go-github-com-aead-chacha20.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (14 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 16/24] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 18/24] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.org (go-github-com-aead-chacha20): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3360b7e51b..ee3b73304b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-aead-chacha20
+  (let ((commit "8b13a72661dae6e9e5dea04f344f0dc95ea29547")
+        (revision "114"))
+    (package
+      (name "go-github-com-aead-chacha20")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/aead/chacha20")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0gbmgq5kbqmbyrsav57ql4jzbvqvp1q7yvcd5fl3wf5g94iyv56r"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/aead/chacha20"))
+      (propagated-inputs
+       `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+      (synopsis "ChaCha20 and XChaCha20 stream ciphers")
+      (description "ChaCha is a stream cipher family created by Daniel Bernstein.
+The most common ChaCha variant is ChaCha20 (20 rounds).  ChaCha20 is
+standardized in RFC 7539.")
+      (home-page "https://github.com/aead/chacha20")
+      (license license:expat))))
+
 (define-public go-github-com-mufti1-interconv
   (let ((commit "d7c72925c6568d60d361757bb9f2d252dcca745c")
         (revision "28"))
-- 
2.31.1





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

* [bug#48729] [PATCH v1 18/24] gnu: Add go-github-com-riobard-go-bloom.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (15 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 17/24] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 19/24] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 20/24] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-riobard-go-bloom): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ee3b73304b..41342b3961 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-riobard-go-bloom
+  (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9")
+        (revision "15"))
+    (package
+      (name "go-github-com-riobard-go-bloom")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/riobard/go-bloom")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10a8ixh6zw52df2imxrzgxi82zc1j5hqnv5smjp818qwdn1a1rhj"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/riobard/go-bloom"))
+      (synopsis "Bloom filter in Go")
+      (description "Bloom Filter using double hashing.")
+      (home-page "https://github.com/riobard/go-bloom")
+      (license license:asl2.0))))
+
 (define-public go-github-com-aead-chacha20
   (let ((commit "8b13a72661dae6e9e5dea04f344f0dc95ea29547")
         (revision "114"))
-- 
2.31.1





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

* [bug#48729] [PATCH v1 19/24] gnu: Add go-github-com-shadowsocks-go-shadowsocks2.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (16 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 18/24] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 20/24] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 41342b3961..d7a4e6de81 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,35 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-shadowsocks-go-shadowsocks2
+  (package
+    (name "go-github-com-shadowsocks-go-shadowsocks2")
+    ;; Version > 0.1.3 requires go-toolchain v1.16.
+    (version "0.1.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/shadowsocks/go-shadowsocks2")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wzy3ml4ld83iawcl6p313bskzs6zjhz8vlg8kpwgn71cnbv4pvi"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/shadowsocks/go-shadowsocks2"))
+    (propagated-inputs
+     `(("go-github-com-riobard-go-bloom" ,go-github-com-riobard-go-bloom)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+       ("go-golang-org-x-text" ,go-golang-org-x-text)))
+    (home-page "https://github.com/shadowsocks/go-shadowsocks2")
+    (synopsis "Shadowsocks in Go")
+    (description "Implementation of Shadowsocks in Go.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-riobard-go-bloom
   (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9")
         (revision "15"))
-- 
2.31.1





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

* [bug#48729] [PATCH v1 20/24] gnu: Add go-github-com-kataras-pio.
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (17 preceding siblings ...)
  2021-05-29 11:15   ` [bug#48729] [PATCH v1 19/24] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:15   ` Raghav Gururajan via Guix-patches via
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:15 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-kataras-pio): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d7a4e6de81..48a5350f6e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-kataras-pio
+  (package
+    (name "go-github-com-kataras-pio")
+    (version "0.0.10")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/kataras/pio")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11d2jy9xz4airicgmjcy4nb80kwv22jp140wzn2l5412jdr4jmkp"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/kataras/pio"))
+    (home-page "https://github.com/kataras/pio")
+    (synopsis "Pill for Input/Output")
+    (description "PIO is a low-level package that provides a way to centralize
+different output targets.  Supports colors and text decoration to all popular
+terminals.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-shadowsocks-go-shadowsocks2
   (package
     (name "go-github-com-shadowsocks-go-shadowsocks2")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 21/24] gnu: Add go-github-com-kataras-golog.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
  2021-05-29 11:14 ` [bug#48729] [PATCH v1 00/24]: " Raghav Gururajan via Guix-patches via
  2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:18 ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:21 ` [bug#48729] [PATCH v1 22/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:18 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-kataras-golog): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 48a5350f6e..e281ed373c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-kataras-golog
+  (package
+    (name "go-github-com-kataras-golog")
+    (version "0.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/kataras/golog")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1ll24g50j48wqikzf67cyaq0m0f57v1ap24nbz3cmv3yzqi6wdl9"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/kataras/golog"))
+    (propagated-inputs
+     `(("go-github-com-kataras-pio" ,go-github-com-kataras-pio)))
+    (home-page "https://github.com/kataras/golog")
+    (synopsis "Level-based logger")
+    (description "GoLog is a logging foundation for Go Applications.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-kataras-pio
   (package
     (name "go-github-com-kataras-pio")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 22/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (2 preceding siblings ...)
  2021-05-29 11:18 ` [bug#48729] [PATCH v1 21/24] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:21 ` Raghav Gururajan via Guix-patches via
  2021-05-29 11:21   ` [bug#48729] [PATCH v1 23/24] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
  2021-05-29 11:23 ` [bug#48729] [PATCH v1 24/24] gnu: Add bitmask-vpn Raghav Gururajan via Guix-patches via
                   ` (14 subsequent siblings)
  18 siblings, 1 reply; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-transports): New variable.
---
 gnu/packages/golang.scm | 155 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 155 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e281ed373c..4fdedafdae 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,161 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-shapeshifter-transports
+  (package
+    (name "go-github-com-operatorfoundation-shapeshifter-transports")
+    (version "3.0.12")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/shapeshifter-transports")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0f1hzhk3q2fgqdg14zlg3z0s0ib1y9xwj89qnjk95b37zbgqjgsb"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/OperatorFoundation/shapeshifter-transports"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-source
+           (lambda _
+             (substitute* (find-files "." "\\.go$")
+               ;; Drop '.git' suffix in import path of goptlib.
+               (("goptlib\\.git") "goptlib"))
+             #t))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               ;;; ERROR: invalid memory address or nil pointer dereference.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               ;;; ERROR: failed with status 1.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               ;;; ERROR: bind: permission denied.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"))
+               ;;; ERROR: failed with status 1.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"))
+             #t)))))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (propagated-inputs
+     `(("go-github-com-aead-chacha20"
+        ,go-github-com-aead-chacha20)
+       ("go-github-com-blanu-dust"
+        ,go-github-com-blanu-dust)
+       ("go-github-com-deckarep-golang-set"
+        ,go-github-com-deckarep-golang-set)
+       ("go-github-com-kataras-golog"
+        ,go-github-com-kataras-golog)
+       ("go-github-com-mufti1-interconv"
+        ,go-github-com-mufti1-interconv)
+       ("go-github-com-opentracing-opentracing-go"
+        ,go-github-com-opentracing-opentracing-go)
+       ("go-github-com-operatorfoundation-monolith-go"
+        ,go-github-com-operatorfoundation-monolith-go)
+       ("go-github-com-operatorfoundation-obfs4"	
+        ,go-github-com-operatorfoundation-obfs4)
+       ("go-github-com-operatorfoundation-shapeshifter-ipc"
+        ,go-github-com-operatorfoundation-shapeshifter-ipc)
+       ("go-github-com-shadowsocks-go-shadowsocks2"
+        ,go-github-com-shadowsocks-go-shadowsocks2)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-torproject-org-pluggable-transports-goptlib"
+        ,go-torproject-org-pluggable-transports-goptlib)))
+    (home-page "https://github.com/OperatorFoundation/shapeshifter-transports")
+    (synopsis "Go implementation of Pluggable Transports")
+    (description "Shapeshifter Transports is a set of Pluggable Transports
+implementing the Go API from the Pluggable Transports 2.0 specification.")
+    (license license:expat)))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 23/24] gnu: Add go-0xacab-org-leap-shapeshifter.
  2021-05-29 11:21 ` [bug#48729] [PATCH v1 22/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:21   ` Raghav Gururajan via Guix-patches via
  0 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-0xacab-org-leap-shapeshifter): New variable.
---
 gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4fdedafdae..75f9cd7313 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -67,6 +67,39 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-0xacab-org-leap-shapeshifter
+  (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
+        (revision "12"))
+    (package
+      (name "go-0xacab-org-leap-shapeshifter")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://0xacab.org/leap/shapeshifter")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0m4fla9ppl53k9syms4dsad92wakr74cdvids3xxv3amdh4d1w4i"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "0xacab.org/leap/shapeshifter"))
+      (propagated-inputs
+       `(("go-github-com-operatorfoundation-obfs4"
+          ,go-github-com-operatorfoundation-obfs4)
+         ("go-github-com-operatorfoundation-shapeshifter-transports"
+          ,go-github-com-operatorfoundation-shapeshifter-transports)
+         ("go-golang-org-x-net" ,go-golang-org-x-net)))
+      (synopsis "Network Obfuscater")
+      (description "Shapeshifter provides network protocol shapeshifting
+technology.  The purpose of this technology is to change the characteristics of
+network traffic so that it is not identified and subsequently blocked by network
+filtering devices.")
+      (home-page "https://0xacab.org/leap/shapeshifter")
+      (license license:bsd-2))))
+
 (define-public go-github-com-operatorfoundation-shapeshifter-transports
   (package
     (name "go-github-com-operatorfoundation-shapeshifter-transports")
-- 
2.31.1





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

* [bug#48729] [PATCH v1 24/24] gnu: Add bitmask-vpn.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (3 preceding siblings ...)
  2021-05-29 11:21 ` [bug#48729] [PATCH v1 22/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
@ 2021-05-29 11:23 ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:56 ` [bug#48729] [PATCH v2 00/47]: Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-05-29 11:23 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/vpn.scm (bitmask-vpn): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
 gnu/packages/vpn.scm | 114 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 114 insertions(+)

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index a952e3f0db..d2edac06ec 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -38,6 +38,7 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system linux-module)
   #:use-module (guix build-system python)
   #:use-module (guix utils)
@@ -52,6 +53,7 @@
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
@@ -69,6 +71,118 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xml))
 
+(define-public bitmask-vpn
+  (package
+    (name "bitmask-vpn")
+    (version "0.21.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://0xacab.org/leap/bitmask-vpn")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1b0cdgh4mqvalvknck1zjy7dhmjfyhbmn9knya6ymx8dqan308sr"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f
+       #:unpack-path "0xacab.org/leap/bitmask-vpn"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-source
+           (lambda _
+             (substitute* (find-files "." "\\.go$")
+               (("github.com/ProtonMail/go-autostart")
+                "github.com/emersion/go-autostart"))
+             #t))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper"
+               "0xacab.org/leap/bitmask-vpn/gui"
+               "0xacab.org/leap/bitmask-vpn/pkg/backend"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmask"
+               "0xacab.org/leap/bitmask-vpn/pkg/config"
+               "0xacab.org/leap/bitmask-vpn/pkg/helper"
+               "0xacab.org/leap/bitmask-vpn/pkg/pickle"
+               "0xacab.org/leap/bitmask-vpn/pkg/pid"
+               "0xacab.org/leap/bitmask-vpn/pkg/vpn"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper"
+               "0xacab.org/leap/bitmask-vpn/gui"
+               "0xacab.org/leap/bitmask-vpn/pkg/backend"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmask"
+               "0xacab.org/leap/bitmask-vpn/pkg/config"
+               "0xacab.org/leap/bitmask-vpn/pkg/helper"
+               "0xacab.org/leap/bitmask-vpn/pkg/pickle"
+               "0xacab.org/leap/bitmask-vpn/pkg/pid"
+               "0xacab.org/leap/bitmask-vpn/pkg/vpn"))
+             #t)))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("python" ,python-wrapper)))
+    (inputs
+     `(("qtbase" ,qtbase)
+       ("qtdeclarative" ,qtdeclarative)))
+    (propagated-inputs
+     `(("go-github-com-apparentlymart-go-openvpn-mgmt"
+        ,go-github-com-apparentlymart-go-openvpn-mgmt)
+       ("go-github-com-dchest-siphash"
+        ,go-github-com-dchest-siphash)
+       ("go-github-com-emersion-go-autostart"
+        ,go-github-com-emersion-go-autostart)
+       ("go-github-com-kardianos-osext"
+        ,go-github-com-kardianos-osext)
+       ("go-github-com-keybase-go-ps"
+        ,go-github-com-keybase-go-ps)
+       ("go-github-com-operatorfoundation-obfs4"
+        ,go-github-com-operatorfoundation-obfs4)
+       ("go-github-com-operatorfoundation-shapeshifter-ipc"
+        ,go-github-com-operatorfoundation-shapeshifter-ipc)
+       ("go-github-com-operatorfoundation-shapeshifter-transports"
+        ,go-github-com-operatorfoundation-shapeshifter-transports)
+       ("go-github-com-rakyll-statik"
+        ,go-github-com-rakyll-statik)
+       ("go-github-com-sevlyar-go-daemon"
+        ,go-github-com-sevlyar-go-daemon)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+       ("go-0xacab-org-leap-shapeshifter"
+        ,go-0xacab-org-leap-shapeshifter)))
+    (synopsis "Bitmask VPN Client")
+    (description "Bitmask-VPN is LEAP’s very own VPN client.  It allows you to
+select from a variety of trusted service provider all from one app.  Current
+providers include Riseup Networks and The Calyx Institute.")
+    (home-page "https://bitmask.net/")
+    (license license:gpl3+)))
+
 (define-public gvpe
   (package
     (name "gvpe")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 00/47]: Bitmask VPN
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (4 preceding siblings ...)
  2021-05-29 11:23 ` [bug#48729] [PATCH v1 24/24] gnu: Add bitmask-vpn Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:56 ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:56 UTC (permalink / raw)
  To: 48729; +Cc: jgart


[-- Attachment #1.1: Type: text/plain, Size: 295 bytes --]

Hello Guix!

This version of patch-set still has following issues:

[1] Last patch has to be finished.
[2] Failing tests has to be re-visited.
[3] Trailing `#t` in phases has to be removed.
[4] Synopsis and Description requires revision.
[5] Some lines are too long.

Regards,
RG.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

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

* [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (5 preceding siblings ...)
  2021-06-03  9:56 ` [bug#48729] [PATCH v2 00/47]: Bitmask VPN Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57 ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 02/47] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
                     ` (17 more replies)
  2021-06-03 10:02 ` [bug#48729] [PATCH v2 20/47] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
                   ` (11 subsequent siblings)
  18 siblings, 18 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-rakyll-statik): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8c3c81ceda..fcfb1fc715 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -25,6 +25,8 @@
 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
 ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
+;;; Copyright © 2021 Jorge Gomez <jgart@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -67,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-rakyll-statik
+  (package
+    (name "go-github-com-rakyll-statik")
+    (version "0.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/rakyll/statik")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/rakyll/statik"))
+    (home-page "https://github.com/rakyll/statik/")
+    (synopsis "Embed files into a Go executable")
+    (description "Statik allows you to embed a directory of static files into
+your Go binary to be later served from an http.")
+    (license license:asl2.0)))
+
 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
 ;; implementation, and gccgo-5 a complete implementation of go-1.4.  Ultimately
-- 
2.31.1





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

* [bug#48729] [PATCH v2 02/47] gnu: Add go-github-com-dchest-siphash.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 03/47] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
                     ` (16 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-dchest-siphash): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fcfb1fc715..4ebef21140 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-dchest-siphash
+  (package
+    (name "go-github-com-dchest-siphash")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/dchest/siphash")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "08s076y7vmjqnq7jz0762hkm896r6r31v8b31a3gy0n8rfa01k8k"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/dchest/siphash"))
+    (home-page "https://github.com/dchest/siphash")
+    (synopsis "Go library for pseudorandom functions")
+    (description "SipHash is a family of pseudorandom functions (PRFs) optimized
+for speed on short messages.")
+    (license license:cc0)))
+
 (define-public go-github-com-rakyll-statik
   (package
     (name "go-github-com-rakyll-statik")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 03/47] gnu: Add go-github-com-emersion-go-autostart.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 02/47] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 04/47] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
                     ` (15 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-emersion-go-autostart): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4ebef21140..4fcb5cd01a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-emersion-go-autostart
+  (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
+        (revision "39"))
+    (package
+      (name "go-github-com-emersion-go-autostart")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/emersion/go-autostart")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0cqqvbzn32xv5lknfygrx01rx2sc6pi833k7008nlk9lsfgry06v"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/emersion/go-autostart"))
+      (synopsis "Go library to run a command after login")
+      (description "Go library to run a command after login.")
+      (home-page "https://github.com/emersion/go-autostart")
+      (license license:expat))))
+
 (define-public go-github-com-dchest-siphash
   (package
     (name "go-github-com-dchest-siphash")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 04/47] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 02/47] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 03/47] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 05/47] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
                     ` (14 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-apparentlymart-go-openvpn-mgmt): New variable.
---
 gnu/packages/golang.scm | 79 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4fcb5cd01a..7b0f656ada 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,85 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-apparentlymart-go-openvpn-mgmt
+  (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
+        (revision "14"))
+    (package
+      (name "go-github-com-apparentlymart-go-openvpn-mgmt")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/apparentlymart/go-openvpn-mgmt")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dn431jnswg5ns1ah10wswnw6wiv48zq21zr5xp1178l4waswj7k"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/apparentlymart/go-openvpn-mgmt"
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'build
+             (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'build)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:build-flags build-flags
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))
+               #t))
+           (replace 'check
+             (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'check)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:tests? tests?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))
+               #t))
+           (replace 'install
+             (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'install)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:install-source? install-source?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))
+               #t)))))
+      (synopsis "Go client library for OpenVPN's management protocol")
+      (description "This package implements a client for the OpenVPN management
+interface.  It can be used to monitor and control an OpenVPN process running with
+its management port enabled.")
+      (home-page "https://github.com/apparentlymart/go-openvpn-mgmt")
+      (license license:expat))))
+
 (define-public go-github-com-emersion-go-autostart
   (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
         (revision "39"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 05/47] gnu: Add go-github-com-keybase-go-ps.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 04/47] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-05 14:42     ` Maxime Devos
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 06/47] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
                     ` (13 subsequent siblings)
  17 siblings, 1 reply; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-keybase-go-ps): New variable.
---
 gnu/packages/golang.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7b0f656ada..c7d29fc235 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,43 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-keybase-go-ps
+  (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
+        (revision "45"))
+    (package
+      (name "go-github-com-keybase-go-ps")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/keybase/go-ps")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1la7m9pd1rrij727g34k9d2iapqwrkwdkqwpkbsbcq8ig0fg634h"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/keybase/go-ps"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'fix-tests
+             (lambda* (#:key inputs #:allow-other-keys)
+               (substitute* (find-files "." ".*test\\.go")
+                 (("/bin/sleep")
+                  (string-append (assoc-ref inputs "coreutils")
+                                 "/bin/sleep")))
+               #t)))))
+      (native-inputs
+       `(("coreutils" ,coreutils)
+         ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (synopsis "Process List Library")
+      (description "go-ps is a library for Go that implements OS-specific APIs
+to list and manipulate processes in a platform-safe way.")
+      (home-page "https://github.com/keybase/go-ps")
+      (license license:expat))))
+
 (define-public go-github-com-apparentlymart-go-openvpn-mgmt
   (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
         (revision "14"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 06/47] gnu: Add go-github-com-sevlyar-go-daemon.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 05/47] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 07/47] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
                     ` (12 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-sevlyar-go-daemon): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c7d29fc235..acc0c1bb49 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-sevlyar-go-daemon
+  (package
+    (name "go-github-com-sevlyar-go-daemon")
+    (version "0.1.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/sevlyar/go-daemon")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1y3gnxaifykcjcbzx91lz9bc93b95w3xj4rjxjbii26pm3j7gqyk"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/sevlyar/go-daemon"))
+    (propagated-inputs
+     `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/sevlyar/go-daemon")
+    (synopsis "Library for writing system daemons")
+    (description "go-daemon is a library for writing system daemons in golang.")
+    (license license:expat)))
+
 (define-public go-github-com-keybase-go-ps
   (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
         (revision "45"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 07/47] gnu: Add go-torproject-org-pluggable-transports-goptlib.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 06/47] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 08/47] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
                     ` (11 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-torproject-org-pluggable-transports-goptlib): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index acc0c1bb49..3594138169 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,28 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-torproject-org-pluggable-transports-goptlib
+  (package
+    (name "go-torproject-org-pluggable-transports-goptlib")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://git.torproject.org/pluggable-transports/goptlib")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "git.torproject.org/pluggable-transports/goptlib"))
+    (home-page "https://gitweb.torproject.org/pluggable-transports/goptlib")
+    (synopsis "Library for writing Tor Pluggable-Transports")
+    (description "goptlib is a library for writing Tor pluggable transports in Go.")
+    (license license:cc0)))
+
 (define-public go-github-com-sevlyar-go-daemon
   (package
     (name "go-github-com-sevlyar-go-daemon")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 08/47] gnu: Add go-github-com-willscott-goturn.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 07/47] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 09/47] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
                     ` (10 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-willscott-goturn): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3594138169..2539863770 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,31 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-willscott-goturn
+  (let ((commit "19f41278d0c9251d64e0ee29f37d51e87a24a97b")
+        (revision "68"))
+    (package
+      (name "go-github-com-willscott-goturn")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/willscott/goturn")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0zwvhfznr84ayzknn9flh65nvqjsixisgy9fkhz2jlahl1ldqcq7"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/willscott/goturn"))
+      (synopsis "A golang TURN dialer")
+      (description "GoTURN is a library providing a Go interface compatible with
+the golang proxy package which connects through a TURN relay.")
+      (home-page "https://github.com/willscott/goturn")
+      (license license:bsd-3))))
+
 (define-public go-torproject-org-pluggable-transports-goptlib
   (package
     (name "go-torproject-org-pluggable-transports-goptlib")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 09/47] gnu: Add go-github-com-operatorfoundation-obfs4.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 08/47] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 10/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
                     ` (9 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-operatorfoundation-obfs4): New variable.
---
 gnu/packages/golang.scm | 151 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 151 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2539863770..e2d5dfc4e4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,157 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-obfs4
+  (package
+    (name "go-github-com-operatorfoundation-obfs4")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/obfs4")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0s730xagdxs66wfh65hb5v9a5h01q5ncic3pyij0a043scagizgr"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/OperatorFoundation/obfs4"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-source
+           (lambda _
+             (substitute* (find-files "." "\\.go$")
+               ;; Drop '.git' suffix in import path of goptlib.
+               (("goptlib\\.git") "goptlib"))
+             #t))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               "github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               "github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               ;; ERROR: Println arg dialFn is a func value, not called.
+               ;;"github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn.
+               ;;"github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn
+               ;;"github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               ;; ERROR: Println call has possible formatting directive %s.
+               ;;"github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               "github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               "github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))
+             #t)))))
+    (propagated-inputs
+     `(("go-github-com-dchest-siphash" ,go-github-com-dchest-siphash)
+       ("go-github-com-operatorfoundation-ed25519"
+        ,go-github-com-operatorfoundation-ed25519)
+       ("go-github-com-willscott-goturn" ,go-github-com-willscott-goturn)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-torproject-org-pluggable-transports-goptlib"
+        ,go-torproject-org-pluggable-transports-goptlib)))
+    (home-page "https://github.com/OperatorFoundation/obfs4")
+    (synopsis "The Obfourscator")
+    (description "Obfs4 is a look-like nothing obfuscation protocol that
+incorporates ideas and concepts from Philipp Winter's ScrambleSuit protocol.
+The notable differences between ScrambleSuit and obfs4 are:
+@itemize
+@The handshake always does a full key exchange (no such thing as a Session
+Ticket Handshake).
+@The handshake uses the Tor Project's ntor handshake with public keys obfuscated
+via the Elligator 2 mapping.
+@The link layer encryption uses NaCl secret boxes (Poly1305/XSalsa20).
+@end itemize")
+    (license license:bsd-2)))
+
 (define-public go-github-com-willscott-goturn
   (let ((commit "19f41278d0c9251d64e0ee29f37d51e87a24a97b")
         (revision "68"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 10/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 09/47] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
                     ` (8 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-ipc): New variable.
---
 gnu/packages/golang.scm | 77 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e2d5dfc4e4..19741b4be4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,83 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-shapeshifter-ipc
+  (package
+    (name "go-github-com-operatorfoundation-shapeshifter-ipc")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/shapeshifter-ipc")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1q1fcnllg462nfca16s5mr0n2jh92x3hj946qnaqc682phjz04lg"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f                      ; ERROR: undefined: Args.
+       #:unpack-path "github.com/OperatorFoundation/shapeshifter-ipc"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))
+             #t)))))
+    (home-page "https://github.com/OperatorFoundation/shapeshifter-ipc")
+    (synopsis "Go implementation of IPC protocol")
+    (description "Shapeshifter IPC is a library for Go implementing the IPC
+protocol from the Pluggable Transports 2.0 specification.")
+    (license license:expat)))
+
 (define-public go-github-com-operatorfoundation-obfs4
   (package
     (name "go-github-com-operatorfoundation-obfs4")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 11/47] gnu: Add go-github-com-op-go-logging.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (8 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 10/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 12/47] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-op-go-logging): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 19741b4be4..52e6318019 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-op-go-logging
+  (package
+    (name "go-github-com-op-go-logging")
+    (version "1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/op/go-logging")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01a6lkpj5p82gplddh55az194s9y3014p4j8x4zc8yv886z9c8gn"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f ; ERROR: incorrect callpath: String.rec...a.b.c.Info.
+       #:import-path "github.com/op/go-logging"))
+    (home-page "https://github.com/op/go-logging")
+    (synopsis "Golang logging library")
+    (description "go-logging is a logging library for Go.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-operatorfoundation-shapeshifter-ipc
   (package
     (name "go-github-com-operatorfoundation-shapeshifter-ipc")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 12/47] gnu: Add go-github-com-blanu-dust.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (9 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 13/47] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-blanu-dust): New variable.
---
 gnu/packages/golang.scm | 122 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 122 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 52e6318019..58883dc891 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,128 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-blanu-dust
+  (package
+    (name "go-github-com-blanu-dust")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/blanu/Dust")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lya21w06ramq37af5hdiafbrv5k1csjm7k7m00v0bfxg3ni01bs"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/blanu/Dust"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               "github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               ;; Repository is missing test files directory.
+               ;;"github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               "github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))
+             #t)))))
+    (propagated-inputs
+     `(("go-github-com-operatorfoundation-ed25519"
+        ,go-github-com-operatorfoundation-ed25519)
+       ("go-github-com-op-go-logging" ,go-github-com-op-go-logging)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
+    (home-page "github.com/blanu/Dust")
+    (synopsis "Censorship-Resistant Internet Transport Protocol")
+    (description "Dust is an Internet protocol designed to resist a number of
+attacks currently in active use to censor Internet communication.  While
+adherence to the theoretical maxims of cryptographic security are observed where
+possible, the focus of Dust is on real solutions to real attacks.")
+    (license
+     (list
+      ;; Skein.
+      license:bsd-2
+      ;; Others.
+      license:expat))))
+
 (define-public go-github-com-op-go-logging
   (package
     (name "go-github-com-op-go-logging")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 13/47] gnu: Add go-github-com-deckarep-golang-set.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (10 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 12/47] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 14/47] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-deckarep-golang-set): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 58883dc891..2aaee00080 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,28 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-deckarep-golang-set
+  (package
+    (name "go-github-com-deckarep-golang-set")
+    (version "1.7.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/deckarep/golang-set")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y64c0p6a7ww5jp6adm6fm97vsni86njw8wkwxfmciy466vhl0lf"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/deckarep/golang-set"))
+    (home-page "https://github.com/deckarep/golang-set")
+    (synopsis "Set type for Go")
+    (description "golang-set is the set collection for the Go language.")
+    (license license:expat)))
+
 (define-public go-github-com-blanu-dust
   (package
     (name "go-github-com-blanu-dust")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 14/47] gnu: Add go-github-com-operatorfoundation-monolith-go.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (11 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 13/47] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 15/47] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-operatorfoundation-monolith-go): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2aaee00080..6780ade28c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,33 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-monolith-go
+  (package
+    (name "go-github-com-operatorfoundation-monolith-go")
+    (version "1.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/monolith-go")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "066bqlgw5h7a3kxswqlv734asb7nw2y6snsn09yqk0ixj23qw22s"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f ; ERROR: Generated bytes do not match correct answer.
+       #:unpack-path "github.com/OperatorFoundation/monolith-go"
+       #:import-path "github.com/OperatorFoundation/monolith-go/monolith"))
+    (propagated-inputs
+     `(("go-github-com-deckarep-golang-set"
+        ,go-github-com-deckarep-golang-set)))
+    (home-page "https://github.com/OperatorFoundation/monolith-go")
+    (synopsis "Go library for working with byte sequences")
+    (description "monolith-go is a Go library for working with byte sequences.")
+    (license license:expat)))
+
 (define-public go-github-com-deckarep-golang-set
   (package
     (name "go-github-com-deckarep-golang-set")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 15/47] gnu: Add go-github-com-opentracing-opentracing-go.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (12 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 14/47] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 16/47] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6780ade28c..f6db72054e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-opentracing-opentracing-go
+  (package
+    (name "go-github-com-opentracing-opentracing-go")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/opentracing/opentracing-go")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04rgdwl29kimp2wnm4dycnzp7941hvpj6wym85x23c6fclacm94h"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/opentracing/opentracing-go"))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (home-page "https://github.com/opentracing/opentracing-go")
+    (synopsis "OpenTracing API for Go")
+    (description "opentracing-go is a Go platform API for OpenTracing.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-operatorfoundation-monolith-go
   (package
     (name "go-github-com-operatorfoundation-monolith-go")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 16/47] gnu: Add go-github-com-mufti1-interconv.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (13 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 15/47] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 17/47] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-mufti1-interconv): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f6db72054e..9d2d092269 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,31 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-mufti1-interconv
+  (let ((commit "d7c72925c6568d60d361757bb9f2d252dcca745c")
+        (revision "28"))
+    (package
+      (name "go-github-com-mufti1-interconv")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/mufti1/interconv")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "13f5pvr74afa28pbpmgvjzjx68vv5zmrwlvxp7hr5bl5625zlxmy"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/mufti1/interconv"
+         #:import-path "github.com/mufti1/interconv/package"))
+      (synopsis "Convert interface into any data type")
+      (description "Convert interface into any data type.")
+      (home-page "https://github.com/mufti1/interconv")
+      (license license:expat))))
+
 (define-public go-github-com-opentracing-opentracing-go
   (package
     (name "go-github-com-opentracing-opentracing-go")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 17/47] gnu: Add go-github-com-aead-chacha20.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (14 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 16/47] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 18/47] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 19/47] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.org (go-github-com-aead-chacha20): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9d2d092269..8554b32fef 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-aead-chacha20
+  (let ((commit "8b13a72661dae6e9e5dea04f344f0dc95ea29547")
+        (revision "114"))
+    (package
+      (name "go-github-com-aead-chacha20")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/aead/chacha20")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0gbmgq5kbqmbyrsav57ql4jzbvqvp1q7yvcd5fl3wf5g94iyv56r"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/aead/chacha20"))
+      (propagated-inputs
+       `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+      (synopsis "ChaCha20 and XChaCha20 stream ciphers")
+      (description "ChaCha is a stream cipher family created by Daniel Bernstein.
+The most common ChaCha variant is ChaCha20 (20 rounds).  ChaCha20 is
+standardized in RFC 7539.")
+      (home-page "https://github.com/aead/chacha20")
+      (license license:expat))))
+
 (define-public go-github-com-mufti1-interconv
   (let ((commit "d7c72925c6568d60d361757bb9f2d252dcca745c")
         (revision "28"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 18/47] gnu: Add go-github-com-riobard-go-bloom.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (15 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 17/47] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 19/47] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-riobard-go-bloom): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8554b32fef..46b902b70c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-riobard-go-bloom
+  (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9")
+        (revision "15"))
+    (package
+      (name "go-github-com-riobard-go-bloom")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/riobard/go-bloom")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10a8ixh6zw52df2imxrzgxi82zc1j5hqnv5smjp818qwdn1a1rhj"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/riobard/go-bloom"))
+      (synopsis "Bloom filter in Go")
+      (description "Bloom Filter using double hashing.")
+      (home-page "https://github.com/riobard/go-bloom")
+      (license license:asl2.0))))
+
 (define-public go-github-com-aead-chacha20
   (let ((commit "8b13a72661dae6e9e5dea04f344f0dc95ea29547")
         (revision "114"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 19/47] gnu: Add go-github-com-shadowsocks-go-shadowsocks2.
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (16 preceding siblings ...)
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 18/47] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
@ 2021-06-03  9:57   ` Raghav Gururajan via Guix-patches via
  17 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03  9:57 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 46b902b70c..6805113e05 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,35 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-shadowsocks-go-shadowsocks2
+  (package
+    (name "go-github-com-shadowsocks-go-shadowsocks2")
+    ;; Version > 0.1.3 requires go-toolchain v1.16.
+    (version "0.1.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/shadowsocks/go-shadowsocks2")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wzy3ml4ld83iawcl6p313bskzs6zjhz8vlg8kpwgn71cnbv4pvi"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/shadowsocks/go-shadowsocks2"))
+    (propagated-inputs
+     `(("go-github-com-riobard-go-bloom" ,go-github-com-riobard-go-bloom)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+       ("go-golang-org-x-text" ,go-golang-org-x-text)))
+    (home-page "https://github.com/shadowsocks/go-shadowsocks2")
+    (synopsis "Shadowsocks in Go")
+    (description "Implementation of Shadowsocks in Go.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-riobard-go-bloom
   (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9")
         (revision "15"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 20/47] gnu: Add go-github-com-kataras-pio.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (6 preceding siblings ...)
  2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:02 ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:02   ` [bug#48729] [PATCH v2 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
                     ` (2 more replies)
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                   ` (10 subsequent siblings)
  18 siblings, 3 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:02 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-kataras-pio): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6805113e05..6ca92576d2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-kataras-pio
+  (package
+    (name "go-github-com-kataras-pio")
+    (version "0.0.10")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/kataras/pio")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11d2jy9xz4airicgmjcy4nb80kwv22jp140wzn2l5412jdr4jmkp"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/kataras/pio"))
+    (home-page "https://github.com/kataras/pio")
+    (synopsis "Pill for Input/Output")
+    (description "PIO is a low-level package that provides a way to centralize
+different output targets.  Supports colors and text decoration to all popular
+terminals.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-shadowsocks-go-shadowsocks2
   (package
     (name "go-github-com-shadowsocks-go-shadowsocks2")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 21/47] gnu: Add go-github-com-kataras-golog.
  2021-06-03 10:02 ` [bug#48729] [PATCH v2 20/47] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:02   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:02   ` [bug#48729] [PATCH v2 22/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
  2021-06-03 10:02   ` [bug#48729] [PATCH v2 23/47] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
  2 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:02 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-kataras-golog): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6ca92576d2..ef0c35d50b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-kataras-golog
+  (package
+    (name "go-github-com-kataras-golog")
+    (version "0.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/kataras/golog")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1ll24g50j48wqikzf67cyaq0m0f57v1ap24nbz3cmv3yzqi6wdl9"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/kataras/golog"))
+    (propagated-inputs
+     `(("go-github-com-kataras-pio" ,go-github-com-kataras-pio)))
+    (home-page "https://github.com/kataras/golog")
+    (synopsis "Level-based logger")
+    (description "GoLog is a logging foundation for Go Applications.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-kataras-pio
   (package
     (name "go-github-com-kataras-pio")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 22/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports.
  2021-06-03 10:02 ` [bug#48729] [PATCH v2 20/47] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
  2021-06-03 10:02   ` [bug#48729] [PATCH v2 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:02   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:02   ` [bug#48729] [PATCH v2 23/47] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
  2 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:02 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-transports): New variable.
---
 gnu/packages/golang.scm | 155 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 155 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ef0c35d50b..cde1627477 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,161 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-shapeshifter-transports
+  (package
+    (name "go-github-com-operatorfoundation-shapeshifter-transports")
+    (version "3.0.12")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/shapeshifter-transports")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0f1hzhk3q2fgqdg14zlg3z0s0ib1y9xwj89qnjk95b37zbgqjgsb"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/OperatorFoundation/shapeshifter-transports"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-source
+           (lambda _
+             (substitute* (find-files "." "\\.go$")
+               ;; Drop '.git' suffix in import path of goptlib.
+               (("goptlib\\.git") "goptlib"))
+             #t))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               ;;; ERROR: invalid memory address or nil pointer dereference.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               ;;; ERROR: failed with status 1.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               ;;; ERROR: bind: permission denied.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"))
+               ;;; ERROR: failed with status 1.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"))
+             #t)))))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (propagated-inputs
+     `(("go-github-com-aead-chacha20"
+        ,go-github-com-aead-chacha20)
+       ("go-github-com-blanu-dust"
+        ,go-github-com-blanu-dust)
+       ("go-github-com-deckarep-golang-set"
+        ,go-github-com-deckarep-golang-set)
+       ("go-github-com-kataras-golog"
+        ,go-github-com-kataras-golog)
+       ("go-github-com-mufti1-interconv"
+        ,go-github-com-mufti1-interconv)
+       ("go-github-com-opentracing-opentracing-go"
+        ,go-github-com-opentracing-opentracing-go)
+       ("go-github-com-operatorfoundation-monolith-go"
+        ,go-github-com-operatorfoundation-monolith-go)
+       ("go-github-com-operatorfoundation-obfs4"	
+        ,go-github-com-operatorfoundation-obfs4)
+       ("go-github-com-operatorfoundation-shapeshifter-ipc"
+        ,go-github-com-operatorfoundation-shapeshifter-ipc)
+       ("go-github-com-shadowsocks-go-shadowsocks2"
+        ,go-github-com-shadowsocks-go-shadowsocks2)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-torproject-org-pluggable-transports-goptlib"
+        ,go-torproject-org-pluggable-transports-goptlib)))
+    (home-page "https://github.com/OperatorFoundation/shapeshifter-transports")
+    (synopsis "Go implementation of Pluggable Transports")
+    (description "Shapeshifter Transports is a set of Pluggable Transports
+implementing the Go API from the Pluggable Transports 2.0 specification.")
+    (license license:expat)))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 23/47] gnu: Add go-0xacab-org-leap-shapeshifter.
  2021-06-03 10:02 ` [bug#48729] [PATCH v2 20/47] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
  2021-06-03 10:02   ` [bug#48729] [PATCH v2 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
  2021-06-03 10:02   ` [bug#48729] [PATCH v2 22/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:02   ` Raghav Gururajan via Guix-patches via
  2 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:02 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-0xacab-org-leap-shapeshifter): New variable.
---
 gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cde1627477..d541b696be 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,39 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-0xacab-org-leap-shapeshifter
+  (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
+        (revision "12"))
+    (package
+      (name "go-0xacab-org-leap-shapeshifter")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://0xacab.org/leap/shapeshifter")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0m4fla9ppl53k9syms4dsad92wakr74cdvids3xxv3amdh4d1w4i"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "0xacab.org/leap/shapeshifter"))
+      (propagated-inputs
+       `(("go-github-com-operatorfoundation-obfs4"
+          ,go-github-com-operatorfoundation-obfs4)
+         ("go-github-com-operatorfoundation-shapeshifter-transports"
+          ,go-github-com-operatorfoundation-shapeshifter-transports)
+         ("go-golang-org-x-net" ,go-golang-org-x-net)))
+      (synopsis "Network Obfuscater")
+      (description "Shapeshifter provides network protocol shapeshifting
+technology.  The purpose of this technology is to change the characteristics of
+network traffic so that it is not identified and subsequently blocked by network
+filtering devices.")
+      (home-page "https://0xacab.org/leap/shapeshifter")
+      (license license:bsd-2))))
+
 (define-public go-github-com-operatorfoundation-shapeshifter-transports
   (package
     (name "go-github-com-operatorfoundation-shapeshifter-transports")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (7 preceding siblings ...)
  2021-06-03 10:02 ` [bug#48729] [PATCH v2 20/47] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44 ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 25/47] gnu: Add go-github-com-burntsushi-xgbutil Raghav Gururajan via Guix-patches via
                     ` (11 more replies)
  2021-06-03 11:11 ` [bug#48729] [PATCH v2 37/47] gnu: Add gtkglarea Raghav Gururajan via Guix-patches via
                   ` (9 subsequent siblings)
  18 siblings, 12 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-jezek-xgb): New variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d541b696be..d06a617ebd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,32 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-jezek-xgb
+  (let ((commit "0e0f116e1240ae19099324c3b2632003082841b7")
+        (revision "155"))
+    (package
+      (name "go-github-com-jezek-xgb")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/jezek/xgb")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0zwy88ksh896i78h0k038s5fmg9bgxbphkiznqq5525137m6w7gz"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/jezek/xgb"))
+      (synopsis "X Go Binding")
+      (description "XGB is the X Go Binding, which is a low-level API to
+communicate with the core X protocol and many of the X extensions.  It is
+closely modeled after XCB and xpyb.")
+      (home-page "https://github.com/jezek/xgb")
+      (license license:bsd-3))))
+
 (define-public go-0xacab-org-leap-shapeshifter
   (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
         (revision "12"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 25/47] gnu: Add go-github-com-burntsushi-xgbutil.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 26/47] gnu: Add go-github-com-getlantern-context Raghav Gururajan via Guix-patches via
                     ` (10 subsequent siblings)
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-burntsushi-xgbutil): New variable.
---
 gnu/packages/golang.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d06a617ebd..9c182bba3c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,46 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-burntsushi-xgbutil
+  (let ((commit "ad855c7130460fb6cf40af9302c649a69082a4ee")
+        (revision "335"))
+    (package
+      (name "go-github-com-burntsushi-xgbutil")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/BurntSushi/xgbutil")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0zyqinxjgd7w3qzl2jhc8ipyyg1rh7xjxpd85p88m213ak5865bq"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/BurntSushi/xgbutil"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch-source
+             (lambda _
+               (substitute* (find-files "." "\\.go$")
+                 ;; Use 'jezek/xgb' instead of 'BurntSushi/xgb',
+                 ;; as the latter is unmaintained.
+                 (("github.com/BurntSushi/xgb")
+                  "github.com/jezek/xgb"))
+               #t)))))
+      (propagated-inputs
+       `(("go-github-com-jezek-xgb" ,go-github-com-jezek-xgb)))
+      (synopsis "Utility Library for X Go Binding")
+      (description "Xgbutil is a utility library designed to work with the X Go
+Binding.  This project's main goal is to make various X related tasks easier.
+For example, binding keys, using the EWMH or ICCCM specs with the window manager,
+moving/resizing windows, assigning function callbacks to particular events,
+drawing images to a window, etc.")
+      (home-page "https://github.com/BurntSushi/xgbutil")
+      (license license:wtfpl2))))
+
 (define-public go-github-com-jezek-xgb
   (let ((commit "0e0f116e1240ae19099324c3b2632003082841b7")
         (revision "155"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 26/47] gnu: Add go-github-com-getlantern-context.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 25/47] gnu: Add go-github-com-burntsushi-xgbutil Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 27/47] gnu: Add go-github-com-getlantern-ops Raghav Gururajan via Guix-patches via
                     ` (9 subsequent siblings)
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-getlantern-context): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9c182bba3c..7ccb085587 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-context
+  (let ((commit "c447772a6520c1a3ae6294a7df725ee08230f14e")
+        (revision "30"))
+    (package
+      (name "go-github-com-getlantern-context")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/context")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "08s1m1pqkwppvvc6biccyxs7wqzmgjyhyqdgfzwm9vp0c6vzr2sg"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/getlantern/context"))
+      (native-inputs
+       `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (synopsis "Goroutine-based Context State")
+      (description "This package provides a stack abstraction that allows nested
+contexts similar to jtolds' library, but using Enter() and Exit() instead of
+callback functions.")
+      (home-page "https://github.com/getlantern/context")
+      (license license:asl2.0))))
+
 (define-public go-github-com-burntsushi-xgbutil
   (let ((commit "ad855c7130460fb6cf40af9302c649a69082a4ee")
         (revision "335"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 27/47] gnu: Add go-github-com-getlantern-ops.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 25/47] gnu: Add go-github-com-burntsushi-xgbutil Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 26/47] gnu: Add go-github-com-getlantern-context Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 28/47] gnu: Add go-github-com-getlantern-hex Raghav Gururajan via Guix-patches via
                     ` (8 subsequent siblings)
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-getlantern-ops): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7ccb085587..9e94c8e43d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-ops
+  (let ((commit "8476b16edcd6719b2399ae70bca5cff3a1547a44")
+        (revision "21"))
+    (package
+      (name "go-github-com-getlantern-ops")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/ops")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1mh2xp48x9im4l736l5zxz38kghxa5624nlyfaxmj18xn0jxr8nn"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:tests? #f    ; circular-dependency with 'getlantern/errors'
+         #:import-path "github.com/getlantern/ops"))
+      (propagated-inputs
+       `(("go-github-com-getlantern-context"
+          ,go-github-com-getlantern-context)))
+      (synopsis "Track success or failure of operations in code")
+      (description "Track success or failure of operations in code.")
+      (home-page "https://github.com/getlantern/ops")
+      (license license:asl2.0))))
+
 (define-public go-github-com-getlantern-context
   (let ((commit "c447772a6520c1a3ae6294a7df725ee08230f14e")
         (revision "30"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 28/47] gnu: Add go-github-com-getlantern-hex.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 27/47] gnu: Add go-github-com-getlantern-ops Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 29/47] gnu: Add go-github-com-getlantern-hidden Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-getlantern-hex): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9e94c8e43d..376cce1fc9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-hex
+  (let ((commit "c6586a6fe0b7c95eef767657ab1031cbcfc7af66")
+        (revision "4"))
+    (package
+      (name "go-github-com-getlantern-hex")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/hex")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "09vbm93y88b8hwv15rqkzrmrjqzl5zj8bijllzh8npibqhh84qsq"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/getlantern/hex"))
+      (synopsis "Configurable hex encoding")
+      (description "Configurable hex encoding.")
+      (home-page "https://github.com/getlantern/hex")
+      (license license:bsd-3))))
+
 (define-public go-github-com-getlantern-ops
   (let ((commit "8476b16edcd6719b2399ae70bca5cff3a1547a44")
         (revision "21"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 29/47] gnu: Add go-github-com-getlantern-hidden.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 28/47] gnu: Add go-github-com-getlantern-hex Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 30/47] gnu: Add go-github-com-go-stack-stack Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-getlantern-hidden): New variable.
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 376cce1fc9..b780b98d2b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,35 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-hidden
+  (let ((commit "e66e7f8787308d0d5a87a2ebe170f19d43bece78")
+        (revision "5"))
+    (package
+      (name "go-github-com-getlantern-hidden")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/hidden")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1zk6ynzaqyif3h61mb8n3qdz1ncbhq1fbfppdaqkzgqjkb1b53iv"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/getlantern/hidden"))
+      (native-inputs
+       `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (propagated-inputs
+       `(("go-github-com-getlantern-hex"
+          ,go-github-com-getlantern-hex)))
+      (synopsis "Hide text in text")
+      (description "Hide text in text.")
+      (home-page "https://github.com/getlantern/hidden")
+      (license license:asl2.0))))
+
 (define-public go-github-com-getlantern-hex
   (let ((commit "c6586a6fe0b7c95eef767657ab1031cbcfc7af66")
         (revision "4"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 30/47] gnu: Add go-github-com-go-stack-stack.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 29/47] gnu: Add go-github-com-getlantern-hidden Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b780b98d2b..0bd8792c10 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-go-stack-stack
+  (package
+    (name "go-github-com-go-stack-stack")
+    (version "1.8.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/go-stack/stack")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0wk25751ryyvxclyp8jdk5c3ar0cmfr8lrjb66qbg4808x66b96v"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/go-stack/stack"))
+    (home-page "https://github.com/go-stack/stack")
+    (synopsis "Stack Utilities for Go")
+    (description "Stack implements utilities to capture, manipulate, and format
+call stacks.  It provides a simpler API than package runtime.")
+    (license license:expat)))
+
 (define-public go-github-com-getlantern-hidden
   (let ((commit "e66e7f8787308d0d5a87a2ebe170f19d43bece78")
         (revision "5"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 31/47] gnu: Add go-github-com-getlantern-errors.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 30/47] gnu: Add go-github-com-go-stack-stack Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 32/47] gnu: Add go-github-com-oxtoacart-bpool Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-getlantern-errors): New variable.
---
 gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0bd8792c10..4886a0d326 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,39 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-errors
+  (package
+    (name "go-github-com-getlantern-errors")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/getlantern/errors")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0ymz5nb9dplrim9sgfb523iqx1x08bxvbv9383ry2zbsfgqkc966"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/getlantern/errors"))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (propagated-inputs
+     `(("go-github-com-getlantern-context"
+        ,go-github-com-getlantern-context)
+       ("go-github-com-getlantern-hidden"
+        ,go-github-com-getlantern-hidden)
+       ("go-github-com-getlantern-ops"
+        ,go-github-com-getlantern-ops)
+       ("go-github-com-go-stack-stack"
+        ,go-github-com-go-stack-stack)))
+    (home-page "https://github.com/getlantern/errors")
+    (synopsis "Structured errors for Go")
+    (description "Structured errors for Go.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-go-stack-stack
   (package
     (name "go-github-com-go-stack-stack")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 32/47] gnu: Add go-github-com-oxtoacart-bpool.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 33/47] gnu: Add go-github-com-getlantern-golog Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-oxtoacart-bpool): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4886a0d326..eaca6b9351 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-oxtoacart-bpool
+  (let ((commit "03653db5a59cd88b481403d312d7c324b56af377")
+        (revision "18"))
+    (package
+      (name "go-github-com-oxtoacart-bpool")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/oxtoacart/bpool")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1crdgm5w6kvcnvdglrrnrfkh5h60ldafwvrv00q97lz3790kgb15"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/oxtoacart/bpool"))
+      (native-inputs
+       `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (synopsis "Buffer/Byte pool for Go")
+      (description "Bpool implements leaky pools of byte arrays and buffers as
+bounded channels.  It is based on the leaky buffer example from the Effective Go
+documentation.")
+      (home-page "https://github.com/oxtoacart/bpool")
+      (license license:asl2.0))))
+
 (define-public go-github-com-getlantern-errors
   (package
     (name "go-github-com-getlantern-errors")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 33/47] gnu: Add go-github-com-getlantern-golog.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 32/47] gnu: Add go-github-com-oxtoacart-bpool Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 34/47] gnu: Add go-github-com-getlantern-systray Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-getlantern-golog): New variable.
---
 gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index eaca6b9351..3e7366f60f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,41 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-golog
+  (let ((commit "9586b8bde3a95f71c84d9ee2a1a3f778759a76ab")
+        (revision "25"))
+    (package
+      (name "go-github-com-getlantern-golog")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/golog")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0pqmvjqh5lv5ldc93srvlq9nwianxyjfvmjzxx4xmncbxgqsxgli"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/getlantern/golog"))
+      (native-inputs
+       `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (propagated-inputs
+       `(("go-github-com-getlantern-errors"
+          ,go-github-com-getlantern-errors)
+         ("go-github-com-getlantern-hidden"
+          ,go-github-com-getlantern-hidden)
+         ("go-github-com-getlantern-ops"
+          ,go-github-com-getlantern-ops)
+         ("go-github-com-oxtoacart-bpool"
+          ,go-github-com-oxtoacart-bpool)))
+      (synopsis "Basic logging for Go")
+      (description "GoLog provides logging used in many getlantern components.")
+      (home-page "https://github.com/getlantern/golog")
+      (license license:asl2.0))))
+
 (define-public go-github-com-oxtoacart-bpool
   (let ((commit "03653db5a59cd88b481403d312d7c324b56af377")
         (revision "18"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 34/47] gnu: Add go-github-com-getlantern-systray.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                     ` (8 preceding siblings ...)
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 33/47] gnu: Add go-github-com-getlantern-golog Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 35/47] gnu: Add go-github-com-gotk3-gotk3 Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 36/47] gnu: Add go-github-com-jmshal-go-locale Raghav Gururajan via Guix-patches via
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-getlantern-systray): New variable.
---
 gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3e7366f60f..e9611b6f67 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -55,8 +55,10 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages base)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages pcre)
@@ -69,6 +71,39 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-systray
+  (package
+    (name "go-github-com-getlantern-systray")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/getlantern/systray")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0m2n29jmks8rwcwixgmmd5dhpzqw1f7mqyjgyqyycml5w6da2m7z"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/getlantern/systray"))
+    (native-inputs
+     `(("gtk+:bin" ,gtk+ "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("libappindicator" ,libappindicator)))
+    (propagated-inputs
+     `(("go-github-com-getlantern-golog"
+        ,go-github-com-getlantern-golog)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/getlantern/systray")
+    (synopsis "System Tray library for Go")
+    (description "SysTray is a cross-platform Go library to place an icon and
+menu in the notification area.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-getlantern-golog
   (let ((commit "9586b8bde3a95f71c84d9ee2a1a3f778759a76ab")
         (revision "25"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 35/47] gnu: Add go-github-com-gotk3-gotk3.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                     ` (9 preceding siblings ...)
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 34/47] gnu: Add go-github-com-getlantern-systray Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 36/47] gnu: Add go-github-com-jmshal-go-locale Raghav Gururajan via Guix-patches via
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/goloang.scm (go-github-com-gotk3-gotk3): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/golang.scm | 110 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 110 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e9611b6f67..ad0ba57b78 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -68,9 +68,119 @@
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xorg)
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-gotk3-gotk3
+  (package
+    (name "go-github-com-gotk3-gotk3")
+    (version "0.5.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/gotk3/gotk3")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1d5b4nrf4fwdwv0w2h7m0jh65fcvm3xmjv3aypylzaa4fg8wi4cc"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/gotk3/gotk3"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/gotk3/gotk3/cairo"
+               "github.com/gotk3/gotk3/gdk"
+               "github.com/gotk3/gotk3/gio"
+               "github.com/gotk3/gotk3/glib"
+               "github.com/gotk3/gotk3/gtk"
+               "github.com/gotk3/gotk3/pango"))
+             #t))
+         (add-before 'check 'pre-check
+           (lambda _
+             ;; Tests require a running X server.
+             (system "Xvfb :1 +extension GLX &")
+             (setenv "DISPLAY" ":1")
+             ;; Tests write to $HOME.
+             (setenv "HOME" (getcwd))
+             ;; Tests look for $XDG_RUNTIME_DIR.
+             (setenv "XDG_RUNTIME_DIR" (getcwd))
+             ;; For missing '/etc/machine-id'.
+             (setenv "DBUS_FATAL_WARNINGS" "0")
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/gotk3/gotk3/cairo"
+               "github.com/gotk3/gotk3/gdk"
+               "github.com/gotk3/gotk3/gio"
+               "github.com/gotk3/gotk3/glib"
+               "github.com/gotk3/gotk3/gtk"
+               "github.com/gotk3/gotk3/pango"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/gotk3/gotk3/cairo"
+               "github.com/gotk3/gotk3/gdk"
+               "github.com/gotk3/gotk3/gio"
+               "github.com/gotk3/gotk3/glib"
+               "github.com/gotk3/gotk3/gtk"
+               "github.com/gotk3/gotk3/pango"))
+             #t)))))
+    (native-inputs
+     `(("glib:bin" ,glib "bin")
+       ("gtk+:bin" ,gtk+ "bin")
+       ("pkg-config" ,pkg-config)
+       ("xorg-server" ,xorg-server-for-tests)))
+    (inputs
+     `(("cairo" ,cairo)
+       ("glib" ,glib)
+       ("gtk+" ,gtk+)
+       ("pango" ,pango)))
+    (home-page "https://github.com/gotk3/gotk3")
+    (synopsis "Go bindings for GTK3")
+    (description "Gotk3 provides Go bindings for GTK 3 and dependent projects.")
+    (license license:isc)))
+
 (define-public go-github-com-getlantern-systray
   (package
     (name "go-github-com-getlantern-systray")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 36/47] gnu: Add go-github-com-jmshal-go-locale.
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                     ` (10 preceding siblings ...)
  2021-06-03 10:44   ` [bug#48729] [PATCH v2 35/47] gnu: Add go-github-com-gotk3-gotk3 Raghav Gururajan via Guix-patches via
@ 2021-06-03 10:44   ` Raghav Gururajan via Guix-patches via
  11 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 10:44 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-jmshal-go-locale): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ad0ba57b78..d9a2f40285 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -72,6 +72,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-jmshal-go-locale
+  (let ((commit "eb00fb25cc61bca7a5331ae576ae4a3d5572a1e4")
+        (revision "8"))
+    (package
+      (name "go-github-com-jmshal-go-locale")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/jmshal/go-locale")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "05lyrcsrj0vzk30laa9zyy574ijh6f0ybzdv65w4l6n5yibjgnwa"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/jmshal/go-locale"))
+      (synopsis "User locale detection for Go")
+      (description "User locale detection for Go.")
+      (home-page "https://github.com/jmshal/go-locale")
+      (license license:expat))))
+
 (define-public go-github-com-gotk3-gotk3
   (package
     (name "go-github-com-gotk3-gotk3")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 37/47] gnu: Add gtkglarea.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (8 preceding siblings ...)
  2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
@ 2021-06-03 11:11 ` Raghav Gururajan via Guix-patches via
  2021-06-03 11:46 ` [bug#48729] [PATCH v2 38/47] gnu: Add gtkspell2 Raghav Gururajan via Guix-patches via
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 11:11 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/gnome.scm (gtkglarea): New variable.
---
 gnu/packages/gnome.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index be458c07bb..6cbe219102 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -218,6 +218,37 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public gtkglarea
+  (package
+    (name "gtkglarea")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "mirror://gnome/sources/" name "/"
+                       (version-major+minor version) "/"
+                       name "-" version ".tar.xz"))
+       (sha256
+        (base32 "1pl2vdj6l64j864ilhkq1bcggb3hrlxjwk5m029i7xfjfxc587lf"))))
+    (build-system glib-or-gtk-build-system)
+    (arguments
+     `(#:configure-flags
+       (list
+        "--disable-static")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("mesa" ,mesa)))
+    (propagated-inputs
+     `(("gtk+" ,gtk+-2)))
+    (synopsis "OpenGL widget for GTK+")
+    (description "GtkGLArea is an OpenGL widget for GTK+ GUI toolkit.
+ Just as GTK+ is build on top of GDK, GtkGLArea is built on top of gdkgl which
+ is basically wrapper around GLX functions.")
+    (home-page "https://developer.gnome.org/gtk3/stable/GtkGLArea.html")
+    (license license:lgpl2.0+)))
+
 (define-public gupnp-igd
   (package
     (name "gupnp-igd")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 38/47] gnu: Add gtkspell2.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (9 preceding siblings ...)
  2021-06-03 11:11 ` [bug#48729] [PATCH v2 37/47] gnu: Add gtkglarea Raghav Gururajan via Guix-patches via
@ 2021-06-03 11:46 ` Raghav Gururajan via Guix-patches via
  2021-06-03 11:46   ` [bug#48729] [PATCH v2 39/47] gnu: Add go-github-com-mattn-go-gtk Raghav Gururajan via Guix-patches via
  2021-06-03 20:51 ` [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
                   ` (7 subsequent siblings)
  18 siblings, 1 reply; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 11:46 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/gtk.scm (gtkspell2): New variable.
---
 gnu/packages/gtk.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index e64dc69798..1ab8d57f30 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1914,6 +1914,33 @@ glass artworks done by Venicians glass blowers.")
 misspelled words in a GtkTextView widget.")
     (license license:gpl2+)))
 
+(define-public gtkspell2
+  (package
+    (inherit gtkspell3)
+    (name "gtkspell2")
+    (version "2.0.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://sourceforge/gtkspell/"
+                           version "/gtkspell-" version ".tar.gz"))
+       (sha256
+        (base32 "00hdv28bp72kg1mq2jdz1sdw2b8mb9iclsp7jdqwpck705bdriwg"))))
+    (arguments
+     `(#:configure-flags
+       (list
+        "--disable-static")))
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)
+       ("xmllint" ,libxml2)))
+    (inputs
+     `(("enchant" ,enchant-1.6)
+       ("pango" ,pango)))
+    (propagated-inputs
+     `(("gtk+" ,gtk+-2)))))
+
 (define-public clipit
   (package
     (name "clipit")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 39/47] gnu: Add go-github-com-mattn-go-gtk.
  2021-06-03 11:46 ` [bug#48729] [PATCH v2 38/47] gnu: Add gtkspell2 Raghav Gururajan via Guix-patches via
@ 2021-06-03 11:46   ` Raghav Gururajan via Guix-patches via
  0 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 11:46 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-mattn-go-gtk): New variable.
---
 gnu/packages/golang.scm | 135 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 135 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d9a2f40285..691a5fed00 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -58,6 +58,7 @@
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages mp3)
@@ -72,6 +73,140 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-mattn-go-gtk
+  (let ((commit "af2e013261f57706ec683a61f85e8759a3faf6be")
+        (revision "1134"))
+    (package
+      (name "go-github-com-mattn-go-gtk")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/mattn/go-gtk")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1zcvxz45iinamxnpvwf5ij9f6dk62bdbjg1vaggvyz79z5y9llk2"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/mattn/go-gtk"
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'build
+             (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'build)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:build-flags build-flags
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/mattn/go-gtk/gdk"
+                 "github.com/mattn/go-gtk/gdkpixbuf"
+                 "github.com/mattn/go-gtk/gio"
+                 "github.com/mattn/go-gtk/glib"
+                 "github.com/mattn/go-gtk/gtk"
+                 "github.com/mattn/go-gtk/gtkgl"
+                 "github.com/mattn/go-gtk/gtksourceview"
+                 "github.com/mattn/go-gtk/gtkspell"
+                 "github.com/mattn/go-gtk/pango"
+                 "github.com/mattn/go-gtk/tools/gogtkinfo"
+                 "github.com/mattn/go-gtk/tools/make_inline_pixbuf"))
+               #t))
+           (add-before 'check 'pre-check
+             (lambda _
+               ;; Tests require a running X server.
+               (system "Xvfb :1 +extension GLX &")
+               (setenv "DISPLAY" ":1")
+               ;; Tests write to $HOME.
+               (setenv "HOME" (getcwd))
+               ;; Tests look for $XDG_RUNTIME_DIR.
+               (setenv "XDG_RUNTIME_DIR" (getcwd))
+               ;; For missing '/etc/machine-id'.
+               (setenv "DBUS_FATAL_WARNINGS" "0")
+               #t))
+           (replace 'check
+             (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'check)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:tests? tests?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/mattn/go-gtk/gdk"
+                 "github.com/mattn/go-gtk/gdkpixbuf"
+                 "github.com/mattn/go-gtk/gio"
+                 "github.com/mattn/go-gtk/glib"
+                 "github.com/mattn/go-gtk/gtk"
+                 "github.com/mattn/go-gtk/gtkgl"
+                 "github.com/mattn/go-gtk/gtksourceview"
+                 "github.com/mattn/go-gtk/gtkspell"
+                 "github.com/mattn/go-gtk/pango"
+                 "github.com/mattn/go-gtk/tools/gogtkinfo"))
+               ;; ERROR: Println arg list ends with redundant newline.
+               ;;"github.com/mattn/go-gtk/tools/make_inline_pixbuf"))
+               #t))
+           (replace 'install
+             (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'install)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:install-source? install-source?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/mattn/go-gtk/gdk"
+                 "github.com/mattn/go-gtk/gdkpixbuf"
+                 "github.com/mattn/go-gtk/gio"
+                 "github.com/mattn/go-gtk/glib"
+                 "github.com/mattn/go-gtk/gtk"
+                 "github.com/mattn/go-gtk/gtkgl"
+                 "github.com/mattn/go-gtk/gtksourceview"
+                 "github.com/mattn/go-gtk/gtkspell"
+                 "github.com/mattn/go-gtk/pango"
+                 "github.com/mattn/go-gtk/tools/gogtkinfo"
+                 "github.com/mattn/go-gtk/tools/make_inline_pixbuf"))
+               #t)))))
+      (native-inputs
+       `(("glib:bin" ,glib "bin")
+         ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
+         ("gtk+:bin" ,gtk+-2 "bin")
+         ("pkg-config" ,pkg-config)
+         ("xorg-server" ,xorg-server-for-tests)))
+      (inputs
+       `(("gdk-pixbuf" ,gdk-pixbuf+svg)
+         ("glib" ,glib)
+         ("gtk+" ,gtk+-2)
+         ("gtkgl" ,gtkglarea)
+         ("gtksourceview" ,gtksourceview-2)
+         ("gtkspell" ,gtkspell2)
+         ("pango" ,pango)))
+      (propagated-inputs
+       `(("go-github-com-mattn-go-pointer"
+          ,go-github-com-mattn-go-pointer)))
+      (home-page "https://github.com/mattn/go-gtk")
+      (synopsis "Go bindings for GTK")
+      (description "Go bindings for GTK.")
+      (license license:bsd-3))))
+
 (define-public go-github-com-jmshal-go-locale
   (let ((commit "eb00fb25cc61bca7a5331ae576ae4a3d5572a1e4")
         (revision "8"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (10 preceding siblings ...)
  2021-06-03 11:46 ` [bug#48729] [PATCH v2 38/47] gnu: Add gtkspell2 Raghav Gururajan via Guix-patches via
@ 2021-06-03 20:51 ` Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 41/47] gnu: Add go-github-com-go-gl-glow Raghav Gururajan via Guix-patches via
                     ` (6 more replies)
  2021-06-08 23:00 ` [bug#48729] [PATCH v3 00/47]: Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (6 subsequent siblings)
  18 siblings, 7 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 20:51 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-grd-glfw3): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 691a5fed00..7661813489 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -57,6 +57,7 @@
   #:use-module (gnu packages base)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
@@ -73,6 +74,32 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-grd-glfw3
+  (let ((commit "55390ea70f0d427a7ed40c26ea19e82fce17c927")
+        (revision "100"))
+    (package
+      (name "go-github-com-grd-glfw3")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/grd/glfw3")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "15avw38mgx54a3rmlz97ryczpcbibn00rd8486w2si6f1zcawpxw"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/grd/glfw3"))
+      (inputs
+       `(("glfw" ,glfw)))
+      (home-page "https://github.com/grd/glfw3")
+      (synopsis "Go bindings for GLFW3")
+      (description "Go bindings for GLFW3.")
+      (license license:bsd-3))))
+
 (define-public go-github-com-mattn-go-gtk
   (let ((commit "af2e013261f57706ec683a61f85e8759a3faf6be")
         (revision "1134"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 41/47] gnu: Add go-github-com-go-gl-glow.
  2021-06-03 20:51 ` [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
@ 2021-06-03 20:51   ` Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 42/47] gnu: Add go-github-com-go-gl-gl Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  6 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 20:51 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-go-gl-glow): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7661813489..3a632b0705 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-go-gl-glow
+  (let ((commit "640349a6105e64eb9e5085d2afee1ab2ec67d2dc")
+        (revision "300"))
+    (package
+      (name "go-github-com-go-gl-glow")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/go-gl/glow")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1lzibraqjkzibvxw1lagrlzpjsqbp5pd4fcyi6ygqhgja0ik3zd7"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/go-gl/glow"))
+      (propagated-inputs
+       `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
+      (home-page "https://github.com/go-gl/glow")
+      (synopsis "Go binding generator for OpenGL")
+      (description "Glow is an OpenGL binding generator for Go.  It parses the
+OpenGL XML API registry and the EGL XML API registry to produce a
+machine-generated cgo bridge between Go functions and native OpenGL functions.")
+      (license license:expat))))
+
 (define-public go-github-com-grd-glfw3
   (let ((commit "55390ea70f0d427a7ed40c26ea19e82fce17c927")
         (revision "100"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 42/47] gnu: Add go-github-com-go-gl-gl.
  2021-06-03 20:51 ` [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 41/47] gnu: Add go-github-com-go-gl-glow Raghav Gururajan via Guix-patches via
@ 2021-06-03 20:51   ` Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 43/47] gnu: Add go-github-com-skelterjohn-go-wde Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  6 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 20:51 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3a632b0705..074e8e6bdf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,140 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-go-gl-gl
+  (let ((commit "69f74958bac0960e82e8ac5977ff073af29381ba")
+        (revision "87"))
+    (package
+      (name "go-github-com-go-gl-gl")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/go-gl/gl")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "15bqz4dax3b5ha9qcc855aczsa89qa65p578dnjrbww53q31s5w0"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/go-gl/gl"
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'build
+             (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'build)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:build-flags build-flags
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/go-gl/gl/all-core/gl"
+                 "github.com/go-gl/gl/v2.1/gl"
+                 "github.com/go-gl/gl/v3.1/gles2"
+                 "github.com/go-gl/gl/v3.2-compatibility/gl"
+                 "github.com/go-gl/gl/v3.2-core/gl"
+                 "github.com/go-gl/gl/v3.3-compatibility/gl"
+                 "github.com/go-gl/gl/v3.3-core/gl"
+                 "github.com/go-gl/gl/v4.1-compatibility/gl"
+                 "github.com/go-gl/gl/v4.1-core/gl"
+                 "github.com/go-gl/gl/v4.2-compatibility/gl"
+                 "github.com/go-gl/gl/v4.2-core/gl"
+                 "github.com/go-gl/gl/v4.3-compatibility/gl"
+                 "github.com/go-gl/gl/v4.3-core/gl"
+                 "github.com/go-gl/gl/v4.4-compatibility/gl"
+                 "github.com/go-gl/gl/v4.4-core/gl"
+                 "github.com/go-gl/gl/v4.5-compatibility/gl"
+                 "github.com/go-gl/gl/v4.5-core/gl"
+                 "github.com/go-gl/gl/v4.6-compatibility/gl"
+                 "github.com/go-gl/gl/v4.6-core/gl"))
+               #t))
+           (replace 'check
+             (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'check)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:tests? tests?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/go-gl/gl/all-core/gl"
+                 "github.com/go-gl/gl/v2.1/gl"
+                 "github.com/go-gl/gl/v3.1/gles2"
+                 "github.com/go-gl/gl/v3.2-compatibility/gl"
+                 "github.com/go-gl/gl/v3.2-core/gl"
+                 "github.com/go-gl/gl/v3.3-compatibility/gl"
+                 "github.com/go-gl/gl/v3.3-core/gl"
+                 "github.com/go-gl/gl/v4.1-compatibility/gl"
+                 "github.com/go-gl/gl/v4.1-core/gl"
+                 "github.com/go-gl/gl/v4.2-compatibility/gl"
+                 "github.com/go-gl/gl/v4.2-core/gl"
+                 "github.com/go-gl/gl/v4.3-compatibility/gl"
+                 "github.com/go-gl/gl/v4.3-core/gl"
+                 "github.com/go-gl/gl/v4.4-compatibility/gl"
+                 "github.com/go-gl/gl/v4.4-core/gl"
+                 "github.com/go-gl/gl/v4.5-compatibility/gl"
+                 "github.com/go-gl/gl/v4.5-core/gl"
+                 "github.com/go-gl/gl/v4.6-compatibility/gl"
+                 "github.com/go-gl/gl/v4.6-core/gl"))
+               #t))
+           (replace 'install
+             (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'install)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:install-source? install-source?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/go-gl/gl/all-core/gl"
+                 "github.com/go-gl/gl/v2.1/gl"
+                 "github.com/go-gl/gl/v3.1/gles2"
+                 "github.com/go-gl/gl/v3.2-compatibility/gl"
+                 "github.com/go-gl/gl/v3.2-core/gl"
+                 "github.com/go-gl/gl/v3.3-compatibility/gl"
+                 "github.com/go-gl/gl/v3.3-core/gl"
+                 "github.com/go-gl/gl/v4.1-compatibility/gl"
+                 "github.com/go-gl/gl/v4.1-core/gl"
+                 "github.com/go-gl/gl/v4.2-compatibility/gl"
+                 "github.com/go-gl/gl/v4.2-core/gl"
+                 "github.com/go-gl/gl/v4.3-compatibility/gl"
+                 "github.com/go-gl/gl/v4.3-core/gl"
+                 "github.com/go-gl/gl/v4.4-compatibility/gl"
+                 "github.com/go-gl/gl/v4.4-core/gl"
+                 "github.com/go-gl/gl/v4.5-compatibility/gl"
+                 "github.com/go-gl/gl/v4.5-core/gl"
+                 "github.com/go-gl/gl/v4.6-compatibility/gl"
+                 "github.com/go-gl/gl/v4.6-core/gl"))
+               #t)))))
+      (native-inputs
+       `(("pkg-config" ,pkg-config)))
+      (inputs
+       `(("mesa" ,mesa)))
+      (propagated-inputs
+       `(("go-github-com-go-gl-glow" ,go-github-com-go-gl-glow)))
+      (home-page "https://github.com/go-gl/gl")
+      (synopsis "Go bindings for OpenGL")
+      (description "Go-GL holds Go bindings to various OpenGL versions.")
+      (license license:expat))))
+
 (define-public go-github-com-go-gl-glow
   (let ((commit "640349a6105e64eb9e5085d2afee1ab2ec67d2dc")
         (revision "300"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 43/47] gnu: Add go-github-com-skelterjohn-go-wde.
  2021-06-03 20:51 ` [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 41/47] gnu: Add go-github-com-go-gl-glow Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 42/47] gnu: Add go-github-com-go-gl-gl Raghav Gururajan via Guix-patches via
@ 2021-06-03 20:51   ` Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 44/47] gnu: Add go-github-com-skratchdot-open-golang Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  6 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 20:51 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-skelterjohn-go-wde): New variable.
---
 gnu/packages/golang.scm | 43 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 074e8e6bdf..e5e3098e97 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,49 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-skelterjohn-go-wde
+  (let ((commit "adc3f78cdb457e9db21bfff010c85ed97315d8d7")
+        (revision "203"))
+    (package
+      (name "go-github-com-skelterjohn-go-wde")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/skelterjohn/go.wde")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1zxdilxd7iyv367xv7qx7ca0v6fkw5l8gy1bv8s762akx0vqbd85"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/skelterjohn/go.wde"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch-source
+             (lambda _
+               (substitute* (find-files "." "\\.go$")
+                 ;; Use 'jezek/xgb' instead of 'BurntSushi/xgb',
+                 ;; as the latter is unmaintained.
+                 (("github.com/BurntSushi/xgb")
+                  "github.com/jezek/xgb"))
+               #t)))))
+      (propagated-inputs
+       `(("go-github-com-go-gl-gl"
+          ,go-github-com-go-gl-gl)
+         ("go-github-com-grd-glfw3"
+          ,go-github-com-grd-glfw3)
+         ("go-github-com-jezek-xgb"
+          ,go-github-com-jezek-xgb)
+         ("go-github-com-burntsushi-xgbutil"
+          ,go-github-com-burntsushi-xgbutil)))
+      (home-page "https://github.com/skelterjohn/go.wde")
+      (synopsis "Windows, drawing and events for Go")
+      (description "Go-WDE provides (W)indows, (D)rawing and (E)vents for Go.")
+      (license license:asl2.0))))
+
 (define-public go-github-com-go-gl-gl
   (let ((commit "69f74958bac0960e82e8ac5977ff073af29381ba")
         (revision "87"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 44/47] gnu: Add go-github-com-skratchdot-open-golang.
  2021-06-03 20:51 ` [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 43/47] gnu: Add go-github-com-skelterjohn-go-wde Raghav Gururajan via Guix-patches via
@ 2021-06-03 20:51   ` Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 45/47] gnu: Add go-github-com-sqweek-dialog Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  6 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 20:51 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-skratchdot-open-golang): New variable.
---
 gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e5e3098e97..d6e54c9d8b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,41 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-skratchdot-open-golang
+  (let ((commit "eef8423979666925a58eb77f9db583e54320d5a4")
+        (revision "28"))
+    (package
+      (name "go-github-com-skratchdot-open-golang")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/skratchdot/open-golang")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0n6387csjn024db8wldadsiy8ljz7lk7szl6ls28fcbkax7rw86y"))
+         (modules '((guix build utils)))
+         (snippet
+          `(begin
+             (delete-file-recursively "vendor")
+             #t))))
+      (build-system go-build-system)
+      (arguments
+       `(#:tests? #f                    ; requires networking
+         #:unpack-path "github.com/skratchdot/open-golang"
+         #:import-path "github.com/skratchdot/open-golang/open"))
+      (inputs
+       `(("xdg-open" ,xdg-utils)))
+      (home-page "https://github.com/skratchdot/open-golang")
+      (synopsis "Proxy for XDG-Open")
+      (description "Open-GoLang provides a module to open a file, directory, or
+URI using the OS's default application for that object type.  Optionally, you can
+specify an application to use.")
+      (license license:expat))))
+
 (define-public go-github-com-skelterjohn-go-wde
   (let ((commit "adc3f78cdb457e9db21bfff010c85ed97315d8d7")
         (revision "203"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 45/47] gnu: Add go-github-com-sqweek-dialog.
  2021-06-03 20:51 ` [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 44/47] gnu: Add go-github-com-skratchdot-open-golang Raghav Gururajan via Guix-patches via
@ 2021-06-03 20:51   ` Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 46/47] gnu: Add go-0xacab-org-leap-go-dialog Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 47/47] gnu: Add bitmask-vpn Raghav Gururajan via Guix-patches via
  6 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 20:51 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-github-com-sqweek-dialog): New variable.
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d6e54c9d8b..f92e14ad28 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,35 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-sqweek-dialog
+  (let ((commit "8a3d98e8211d6ee4351f31eb597043631002144b")
+        (revision "30"))
+    (package
+      (name "go-github-com-sqweek-dialog")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/sqweek/dialog")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1sdb4nddjyx1dkddk7cga71ymv1fd69pzdf4nywvfb33nfqqbvl1"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/sqweek/dialog"))
+      (native-inputs
+       `(("gtk+:bin" ,gtk+ "bin")
+         ("pkg-config" ,pkg-config)))
+      (inputs
+       `(("gtk+" ,gtk+)))
+      (home-page "https://github.com/sqweek/dialog")
+      (synopsis "Dialog API for Go")
+      (description "Dialog is a simple cross-platform dialog API for go-lang.")
+      (license license:isc))))
+
 (define-public go-github-com-skratchdot-open-golang
   (let ((commit "eef8423979666925a58eb77f9db583e54320d5a4")
         (revision "28"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 46/47] gnu: Add go-0xacab-org-leap-go-dialog.
  2021-06-03 20:51 ` [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 45/47] gnu: Add go-github-com-sqweek-dialog Raghav Gururajan via Guix-patches via
@ 2021-06-03 20:51   ` Raghav Gururajan via Guix-patches via
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 47/47] gnu: Add bitmask-vpn Raghav Gururajan via Guix-patches via
  6 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 20:51 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/golang.scm (go-0xacab-org-leap-go-dialog): New variable.
---
 gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f92e14ad28..96bf6e6551 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,38 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-0xacab-org-leap-go-dialog
+  (let ((commit "0ee8438431a0dca8f25ea788d74bfe7e88078b7a")
+        (revision "25"))
+    (package
+      (name "go-0xacab-org-leap-go-dialog")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://0xacab.org/leap/go-dialog")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dn2dxpg6162f7vyr66vnwhy31wnjj7f14bqdcs7q0wk890kfh21"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "0xacab.org/leap/go-dialog"))
+      (native-inputs
+       `(("gtk+:bin" ,gtk+ "bin")
+         ("pkg-config" ,pkg-config)))
+      (inputs
+       `(("gtk+" ,gtk+)))
+      (propagated-inputs
+       `(("go-github-com-gotk3-gotk3"
+          ,go-github-com-gotk3-gotk3)))
+      (home-page "https://0xacab.org/leap/go-dialog")
+      (synopsis "Dialog API for Go")
+      (description "Dialog is a simple cross-platform dialog API for go-lang.")
+      (license license:isc))))
+
 (define-public go-github-com-sqweek-dialog
   (let ((commit "8a3d98e8211d6ee4351f31eb597043631002144b")
         (revision "30"))
-- 
2.31.1





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

* [bug#48729] [PATCH v2 47/47] gnu: Add bitmask-vpn.
  2021-06-03 20:51 ` [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 46/47] gnu: Add go-0xacab-org-leap-go-dialog Raghav Gururajan via Guix-patches via
@ 2021-06-03 20:51   ` Raghav Gururajan via Guix-patches via
  2021-06-03 21:47     ` Maxime Devos
  6 siblings, 1 reply; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-03 20:51 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, jgart

* gnu/packages/vpn.scm (bitmask-vpn): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/vpn.scm | 150 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 150 insertions(+)

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index a952e3f0db..12d2b6edd2 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -15,6 +15,8 @@
 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
 ;;; Copyright © 2020 Ivan Kozlov <kanichos@yandex.ru>
 ;;; Copyright © 2020 David Dashyan <mail@davie.li>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
+;;; Copyright © 2021 Jorge Gomez <jgart@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -38,6 +40,7 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system linux-module)
   #:use-module (guix build-system python)
   #:use-module (guix utils)
@@ -52,6 +55,8 @@
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
@@ -69,6 +74,151 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xml))
 
+(define-public bitmask-vpn
+  (package
+    (name "bitmask-vpn")
+    (version "0.20.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://0xacab.org/leap/bitmask-vpn")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04sh69m5fq3gml4xgzv92z8i3hay98n9llq9p7p6q9q81s8q8849"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "0xacab.org/leap/bitmask-vpn"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-source
+           (lambda _
+             (substitute* (find-files "." "\\.go$")
+               (("github.com/ProtonMail/go-autostart")
+                "github.com/emersion/go-autostart"))
+             #t))
+         (add-after 'setup-go-environment 'insert-shapeshifter
+           ;; For some reason these packages are left out.
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let* ((go-dialog (assoc-ref inputs "go-0xacab-org-leap-go-dialog"))
+                    (go-dialog-src (string-append go-dialog "/src"))
+                    (shapeshifter (assoc-ref inputs "go-0xacab-org-leap-shapeshifter"))
+                    (shapeshifter-src (string-append shapeshifter "/src")))
+               (copy-recursively go-dialog-src "src")
+               (copy-recursively shapeshifter-src "src"))
+             #t))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-connect"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmask"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmaskd"
+               "0xacab.org/leap/bitmask-vpn/pkg/config"
+               "0xacab.org/leap/bitmask-vpn/pkg/helper"
+               "0xacab.org/leap/bitmask-vpn/pkg/standalone"
+               "0xacab.org/leap/bitmask-vpn/pkg/systray"
+               "0xacab.org/leap/bitmask-vpn/tools/transifex"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-connect"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmask"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmaskd"
+               "0xacab.org/leap/bitmask-vpn/pkg/config"
+               "0xacab.org/leap/bitmask-vpn/pkg/helper"
+               "0xacab.org/leap/bitmask-vpn/pkg/standalone"
+               "0xacab.org/leap/bitmask-vpn/pkg/systray"
+               "0xacab.org/leap/bitmask-vpn/tools/transifex"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-connect"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmask"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmaskd"
+               "0xacab.org/leap/bitmask-vpn/pkg/config"
+               "0xacab.org/leap/bitmask-vpn/pkg/helper"
+               "0xacab.org/leap/bitmask-vpn/pkg/standalone"
+               "0xacab.org/leap/bitmask-vpn/pkg/systray"
+               "0xacab.org/leap/bitmask-vpn/tools/transifex"))
+             #t)))))
+    (native-inputs
+     `(("gtk+:bin" ,gtk+ "bin")
+       ("pkg-config" ,pkg-config)
+       ("python" ,python-wrapper)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("libappindicator" ,libappindicator)))
+    (propagated-inputs
+     `(("go-0xacab-org-leap-go-dialog"
+        ,go-0xacab-org-leap-go-dialog)
+       ("go-0xacab-org-leap-shapeshifter"
+        ,go-0xacab-org-leap-shapeshifter)
+       ("go-github-com-apparentlymart-go-openvpn-mgmt"
+        ,go-github-com-apparentlymart-go-openvpn-mgmt)
+       ("go-github-com-emersion-go-autostart"
+        ,go-github-com-emersion-go-autostart)
+       ("go-github-com-getlantern-systray"
+        ,go-github-com-getlantern-systray)
+       ("go-github-com-jmshal-go-locale"
+        ,go-github-com-jmshal-go-locale)
+       ("go-github-com-keybase-go-ps"
+        ,go-github-com-keybase-go-ps)
+       ("go-github-com-sevlyar-go-daemon"
+        ,go-github-com-sevlyar-go-daemon)
+       ("go-github-com-skratchdot-open-golang"
+        ,go-github-com-skratchdot-open-golang)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+       ("go-golang-org-x-text" ,go-golang-org-x-text)
+       ("go-golang-org-x-tools" ,go-golang-org-x-tools)))
+    (synopsis "Bitmask VPN Client")
+    (description "Bitmask-VPN is LEAP’s very own VPN client.  It allows you to
+select from a variety of trusted service provider all from one app.  Current
+providers include Riseup Networks and The Calyx Institute.")
+    (home-page "https://bitmask.net/")
+    (license license:gpl3+)))
+
 (define-public gvpe
   (package
     (name "gvpe")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 47/47] gnu: Add bitmask-vpn.
  2021-06-03 20:51   ` [bug#48729] [PATCH v2 47/47] gnu: Add bitmask-vpn Raghav Gururajan via Guix-patches via
@ 2021-06-03 21:47     ` Maxime Devos
  2021-06-11  4:12       ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 151+ messages in thread
From: Maxime Devos @ 2021-06-03 21:47 UTC (permalink / raw)
  To: Raghav Gururajan, 48729; +Cc: jgart

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

One comment about this patch.

Raghav Gururajan via Guix-patches via schreef op do 03-06-2021 om 16:51 [-0400]:
> 
> +         (replace 'build
> +           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
> +             (for-each
> +              (lambda (directory)
> +                ((assoc-ref %standard-phases 'build)
> +                 #:source source
> +                 #:system system
> +                 #:outputs outputs
> +                 #:search-paths search-paths
> +                 #:build-flags build-flags
> +                 #:unpack-path unpack-path
> +                 #:inputs inputs
> +                 #:import-path directory))
> +              (list [...]

This can be done a bit simpler, and less prone to breakage
if/when a new keyword argument is introduced at some poit
in the future (untested):

(replace 'build
  (lambda arguments
    (lambda (directory)
      (apply (assoc-ref %standard-phases 'build)
             `(,@arguments #:directory ,directory)))))

WDYT? Likewise in other places.

Also, trailing #t in phases aren't required anymore
(but harmless), though you probably know that already.
(The warning should disappear when core-updates is merged.)

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#48729] [PATCH v2 05/47] gnu: Add go-github-com-keybase-go-ps.
  2021-06-03  9:57   ` [bug#48729] [PATCH v2 05/47] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
@ 2021-06-05 14:42     ` Maxime Devos
  2021-06-11  4:17       ` Raghav Gururajan via Guix-patches via
  0 siblings, 1 reply; 151+ messages in thread
From: Maxime Devos @ 2021-06-05 14:42 UTC (permalink / raw)
  To: Raghav Gururajan, 48729; +Cc: jgart

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

Raghav Gururajan via Guix-patches via schreef op do 03-06-2021 om 05:57 [-0400]:
> +         (modify-phases %standard-phases
> +           (add-after 'unpack 'fix-tests
> +             (lambda* (#:key inputs #:allow-other-keys)
> +               (substitute* (find-files "." ".*test\\.go")
> +                 (("/bin/sleep")
> +                  (string-append (assoc-ref inputs "coreutils")
> +                                 "/bin/sleep")))

When cross-compiling, coreutils is not in 'inputs', but in 'native-inputs', right?
So this would lead to a build error when cross-compiling.
(assoc-ref inputs "coreutils") would return #f, thus you'd get an exception

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure string-append: Wrong type (expecting string): #f

I would make this (untested):

  (sring-append (assoc-ref (or native-inputs inputs) "coreutils") "/bin/sleep")

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#48729] [PATCH v3 00/47]: Bitmask VPN
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (11 preceding siblings ...)
  2021-06-03 20:51 ` [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:00 ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:00 UTC (permalink / raw)
  To: 48729


[-- Attachment #1.1: Type: text/plain, Size: 259 bytes --]

Hello Guix!

This version of patch-set still has following issues:

[1] Failing tests has to be re-visited.
[2] Trailing `#t` in phases has to be removed.
[3] Synopsis and Description requires revision.
[4] Some lines are too long.

Regards,
RG.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

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

* [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (12 preceding siblings ...)
  2021-06-08 23:00 ` [bug#48729] [PATCH v3 00/47]: Bitmask VPN Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:01 ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 02/47] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
                     ` (8 more replies)
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
                   ` (4 subsequent siblings)
  18 siblings, 9 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:01 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, Jorge Gomez

* gnu/packages/golang.scm (go-github-com-rakyll-statik): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8c3c81ceda..fcfb1fc715 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -25,6 +25,8 @@
 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
 ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
+;;; Copyright © 2021 Jorge Gomez <jgart@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -67,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-rakyll-statik
+  (package
+    (name "go-github-com-rakyll-statik")
+    (version "0.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/rakyll/statik")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/rakyll/statik"))
+    (home-page "https://github.com/rakyll/statik/")
+    (synopsis "Embed files into a Go executable")
+    (description "Statik allows you to embed a directory of static files into
+your Go binary to be later served from an http.")
+    (license license:asl2.0)))
+
 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
 ;; implementation, and gccgo-5 a complete implementation of go-1.4.  Ultimately
-- 
2.31.1





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

* [bug#48729] [PATCH v3 02/47] gnu: Add go-github-com-dchest-siphash.
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:01   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 03/47] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:01 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, Jorge Gomez

* gnu/packages/golang.scm (go-github-com-dchest-siphash): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fcfb1fc715..4ebef21140 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-dchest-siphash
+  (package
+    (name "go-github-com-dchest-siphash")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/dchest/siphash")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "08s076y7vmjqnq7jz0762hkm896r6r31v8b31a3gy0n8rfa01k8k"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/dchest/siphash"))
+    (home-page "https://github.com/dchest/siphash")
+    (synopsis "Go library for pseudorandom functions")
+    (description "SipHash is a family of pseudorandom functions (PRFs) optimized
+for speed on short messages.")
+    (license license:cc0)))
+
 (define-public go-github-com-rakyll-statik
   (package
     (name "go-github-com-rakyll-statik")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 03/47] gnu: Add go-github-com-emersion-go-autostart.
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 02/47] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:01   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 04/47] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:01 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-emersion-go-autostart): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4ebef21140..4fcb5cd01a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-emersion-go-autostart
+  (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
+        (revision "39"))
+    (package
+      (name "go-github-com-emersion-go-autostart")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/emersion/go-autostart")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0cqqvbzn32xv5lknfygrx01rx2sc6pi833k7008nlk9lsfgry06v"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/emersion/go-autostart"))
+      (synopsis "Go library to run a command after login")
+      (description "Go library to run a command after login.")
+      (home-page "https://github.com/emersion/go-autostart")
+      (license license:expat))))
+
 (define-public go-github-com-dchest-siphash
   (package
     (name "go-github-com-dchest-siphash")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 04/47] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt.
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 02/47] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 03/47] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:01   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 05/47] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:01 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-apparentlymart-go-openvpn-mgmt): New variable.
---
 gnu/packages/golang.scm | 79 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4fcb5cd01a..7b0f656ada 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,85 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-apparentlymart-go-openvpn-mgmt
+  (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
+        (revision "14"))
+    (package
+      (name "go-github-com-apparentlymart-go-openvpn-mgmt")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/apparentlymart/go-openvpn-mgmt")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dn431jnswg5ns1ah10wswnw6wiv48zq21zr5xp1178l4waswj7k"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/apparentlymart/go-openvpn-mgmt"
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'build
+             (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'build)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:build-flags build-flags
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))
+               #t))
+           (replace 'check
+             (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'check)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:tests? tests?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))
+               #t))
+           (replace 'install
+             (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'install)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:install-source? install-source?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))
+               #t)))))
+      (synopsis "Go client library for OpenVPN's management protocol")
+      (description "This package implements a client for the OpenVPN management
+interface.  It can be used to monitor and control an OpenVPN process running with
+its management port enabled.")
+      (home-page "https://github.com/apparentlymart/go-openvpn-mgmt")
+      (license license:expat))))
+
 (define-public go-github-com-emersion-go-autostart
   (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
         (revision "39"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 05/47] gnu: Add go-github-com-keybase-go-ps.
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 04/47] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:01   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 06/47] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:01 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-keybase-go-ps): New variable.
---
 gnu/packages/golang.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7b0f656ada..c7d29fc235 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,43 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-keybase-go-ps
+  (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
+        (revision "45"))
+    (package
+      (name "go-github-com-keybase-go-ps")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/keybase/go-ps")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1la7m9pd1rrij727g34k9d2iapqwrkwdkqwpkbsbcq8ig0fg634h"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/keybase/go-ps"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'fix-tests
+             (lambda* (#:key inputs #:allow-other-keys)
+               (substitute* (find-files "." ".*test\\.go")
+                 (("/bin/sleep")
+                  (string-append (assoc-ref inputs "coreutils")
+                                 "/bin/sleep")))
+               #t)))))
+      (native-inputs
+       `(("coreutils" ,coreutils)
+         ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (synopsis "Process List Library")
+      (description "go-ps is a library for Go that implements OS-specific APIs
+to list and manipulate processes in a platform-safe way.")
+      (home-page "https://github.com/keybase/go-ps")
+      (license license:expat))))
+
 (define-public go-github-com-apparentlymart-go-openvpn-mgmt
   (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
         (revision "14"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 06/47] gnu: Add go-github-com-sevlyar-go-daemon.
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 05/47] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:01   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:02   ` [bug#48729] [PATCH v3 07/47] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:01 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-sevlyar-go-daemon): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c7d29fc235..acc0c1bb49 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-sevlyar-go-daemon
+  (package
+    (name "go-github-com-sevlyar-go-daemon")
+    (version "0.1.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/sevlyar/go-daemon")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1y3gnxaifykcjcbzx91lz9bc93b95w3xj4rjxjbii26pm3j7gqyk"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/sevlyar/go-daemon"))
+    (propagated-inputs
+     `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/sevlyar/go-daemon")
+    (synopsis "Library for writing system daemons")
+    (description "go-daemon is a library for writing system daemons in golang.")
+    (license license:expat)))
+
 (define-public go-github-com-keybase-go-ps
   (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
         (revision "45"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 07/47] gnu: Add go-torproject-org-pluggable-transports-goptlib.
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-06-08 23:01   ` [bug#48729] [PATCH v3 06/47] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:02   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:02   ` [bug#48729] [PATCH v3 08/47] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:02 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-torproject-org-pluggable-transports-goptlib): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index acc0c1bb49..3594138169 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,28 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-torproject-org-pluggable-transports-goptlib
+  (package
+    (name "go-torproject-org-pluggable-transports-goptlib")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://git.torproject.org/pluggable-transports/goptlib")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "git.torproject.org/pluggable-transports/goptlib"))
+    (home-page "https://gitweb.torproject.org/pluggable-transports/goptlib")
+    (synopsis "Library for writing Tor Pluggable-Transports")
+    (description "goptlib is a library for writing Tor pluggable transports in Go.")
+    (license license:cc0)))
+
 (define-public go-github-com-sevlyar-go-daemon
   (package
     (name "go-github-com-sevlyar-go-daemon")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 08/47] gnu: Add go-github-com-willscott-goturn.
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-06-08 23:02   ` [bug#48729] [PATCH v3 07/47] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:02   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:02   ` [bug#48729] [PATCH v3 09/47] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
  2021-06-08 23:02   ` [bug#48729] [PATCH v3 10/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:02 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-willscott-goturn): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3594138169..2539863770 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,31 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-willscott-goturn
+  (let ((commit "19f41278d0c9251d64e0ee29f37d51e87a24a97b")
+        (revision "68"))
+    (package
+      (name "go-github-com-willscott-goturn")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/willscott/goturn")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0zwvhfznr84ayzknn9flh65nvqjsixisgy9fkhz2jlahl1ldqcq7"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/willscott/goturn"))
+      (synopsis "A golang TURN dialer")
+      (description "GoTURN is a library providing a Go interface compatible with
+the golang proxy package which connects through a TURN relay.")
+      (home-page "https://github.com/willscott/goturn")
+      (license license:bsd-3))))
+
 (define-public go-torproject-org-pluggable-transports-goptlib
   (package
     (name "go-torproject-org-pluggable-transports-goptlib")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 09/47] gnu: Add go-github-com-operatorfoundation-obfs4.
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-06-08 23:02   ` [bug#48729] [PATCH v3 08/47] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:02   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:02   ` [bug#48729] [PATCH v3 10/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:02 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-operatorfoundation-obfs4): New variable.
---
 gnu/packages/golang.scm | 151 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 151 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2539863770..e2d5dfc4e4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,157 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-obfs4
+  (package
+    (name "go-github-com-operatorfoundation-obfs4")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/obfs4")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0s730xagdxs66wfh65hb5v9a5h01q5ncic3pyij0a043scagizgr"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/OperatorFoundation/obfs4"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-source
+           (lambda _
+             (substitute* (find-files "." "\\.go$")
+               ;; Drop '.git' suffix in import path of goptlib.
+               (("goptlib\\.git") "goptlib"))
+             #t))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               "github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               "github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               ;; ERROR: Println arg dialFn is a func value, not called.
+               ;;"github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn.
+               ;;"github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn
+               ;;"github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               ;; ERROR: Println call has possible formatting directive %s.
+               ;;"github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               "github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               "github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))
+             #t)))))
+    (propagated-inputs
+     `(("go-github-com-dchest-siphash" ,go-github-com-dchest-siphash)
+       ("go-github-com-operatorfoundation-ed25519"
+        ,go-github-com-operatorfoundation-ed25519)
+       ("go-github-com-willscott-goturn" ,go-github-com-willscott-goturn)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-torproject-org-pluggable-transports-goptlib"
+        ,go-torproject-org-pluggable-transports-goptlib)))
+    (home-page "https://github.com/OperatorFoundation/obfs4")
+    (synopsis "The Obfourscator")
+    (description "Obfs4 is a look-like nothing obfuscation protocol that
+incorporates ideas and concepts from Philipp Winter's ScrambleSuit protocol.
+The notable differences between ScrambleSuit and obfs4 are:
+@itemize
+@The handshake always does a full key exchange (no such thing as a Session
+Ticket Handshake).
+@The handshake uses the Tor Project's ntor handshake with public keys obfuscated
+via the Elligator 2 mapping.
+@The link layer encryption uses NaCl secret boxes (Poly1305/XSalsa20).
+@end itemize")
+    (license license:bsd-2)))
+
 (define-public go-github-com-willscott-goturn
   (let ((commit "19f41278d0c9251d64e0ee29f37d51e87a24a97b")
         (revision "68"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 10/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc.
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-06-08 23:02   ` [bug#48729] [PATCH v3 09/47] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:02   ` Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:02 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-ipc): New variable.
---
 gnu/packages/golang.scm | 77 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e2d5dfc4e4..19741b4be4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,83 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-shapeshifter-ipc
+  (package
+    (name "go-github-com-operatorfoundation-shapeshifter-ipc")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/shapeshifter-ipc")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1q1fcnllg462nfca16s5mr0n2jh92x3hj946qnaqc682phjz04lg"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f                      ; ERROR: undefined: Args.
+       #:unpack-path "github.com/OperatorFoundation/shapeshifter-ipc"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))
+             #t)))))
+    (home-page "https://github.com/OperatorFoundation/shapeshifter-ipc")
+    (synopsis "Go implementation of IPC protocol")
+    (description "Shapeshifter IPC is a library for Go implementing the IPC
+protocol from the Pluggable Transports 2.0 specification.")
+    (license license:expat)))
+
 (define-public go-github-com-operatorfoundation-obfs4
   (package
     (name "go-github-com-operatorfoundation-obfs4")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (13 preceding siblings ...)
  2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:10 ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 12/47] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
                     ` (8 more replies)
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
                   ` (3 subsequent siblings)
  18 siblings, 9 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:10 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-op-go-logging): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 19741b4be4..52e6318019 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-op-go-logging
+  (package
+    (name "go-github-com-op-go-logging")
+    (version "1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/op/go-logging")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01a6lkpj5p82gplddh55az194s9y3014p4j8x4zc8yv886z9c8gn"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f ; ERROR: incorrect callpath: String.rec...a.b.c.Info.
+       #:import-path "github.com/op/go-logging"))
+    (home-page "https://github.com/op/go-logging")
+    (synopsis "Golang logging library")
+    (description "go-logging is a logging library for Go.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-operatorfoundation-shapeshifter-ipc
   (package
     (name "go-github-com-operatorfoundation-shapeshifter-ipc")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 12/47] gnu: Add go-github-com-blanu-dust.
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:10   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 13/47] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:10 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-blanu-dust): New variable.
---
 gnu/packages/golang.scm | 122 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 122 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 52e6318019..58883dc891 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,128 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-blanu-dust
+  (package
+    (name "go-github-com-blanu-dust")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/blanu/Dust")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lya21w06ramq37af5hdiafbrv5k1csjm7k7m00v0bfxg3ni01bs"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/blanu/Dust"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               "github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               ;; Repository is missing test files directory.
+               ;;"github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               "github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))
+             #t)))))
+    (propagated-inputs
+     `(("go-github-com-operatorfoundation-ed25519"
+        ,go-github-com-operatorfoundation-ed25519)
+       ("go-github-com-op-go-logging" ,go-github-com-op-go-logging)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
+    (home-page "github.com/blanu/Dust")
+    (synopsis "Censorship-Resistant Internet Transport Protocol")
+    (description "Dust is an Internet protocol designed to resist a number of
+attacks currently in active use to censor Internet communication.  While
+adherence to the theoretical maxims of cryptographic security are observed where
+possible, the focus of Dust is on real solutions to real attacks.")
+    (license
+     (list
+      ;; Skein.
+      license:bsd-2
+      ;; Others.
+      license:expat))))
+
 (define-public go-github-com-op-go-logging
   (package
     (name "go-github-com-op-go-logging")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 13/47] gnu: Add go-github-com-deckarep-golang-set.
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 12/47] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:10   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 14/47] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:10 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-deckarep-golang-set): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 58883dc891..2aaee00080 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,28 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-deckarep-golang-set
+  (package
+    (name "go-github-com-deckarep-golang-set")
+    (version "1.7.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/deckarep/golang-set")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y64c0p6a7ww5jp6adm6fm97vsni86njw8wkwxfmciy466vhl0lf"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/deckarep/golang-set"))
+    (home-page "https://github.com/deckarep/golang-set")
+    (synopsis "Set type for Go")
+    (description "golang-set is the set collection for the Go language.")
+    (license license:expat)))
+
 (define-public go-github-com-blanu-dust
   (package
     (name "go-github-com-blanu-dust")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 14/47] gnu: Add go-github-com-operatorfoundation-monolith-go.
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 12/47] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 13/47] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:10   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 15/47] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:10 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-operatorfoundation-monolith-go): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2aaee00080..6780ade28c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,33 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-monolith-go
+  (package
+    (name "go-github-com-operatorfoundation-monolith-go")
+    (version "1.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/monolith-go")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "066bqlgw5h7a3kxswqlv734asb7nw2y6snsn09yqk0ixj23qw22s"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f ; ERROR: Generated bytes do not match correct answer.
+       #:unpack-path "github.com/OperatorFoundation/monolith-go"
+       #:import-path "github.com/OperatorFoundation/monolith-go/monolith"))
+    (propagated-inputs
+     `(("go-github-com-deckarep-golang-set"
+        ,go-github-com-deckarep-golang-set)))
+    (home-page "https://github.com/OperatorFoundation/monolith-go")
+    (synopsis "Go library for working with byte sequences")
+    (description "monolith-go is a Go library for working with byte sequences.")
+    (license license:expat)))
+
 (define-public go-github-com-deckarep-golang-set
   (package
     (name "go-github-com-deckarep-golang-set")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 15/47] gnu: Add go-github-com-opentracing-opentracing-go.
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 14/47] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:10   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 16/47] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:10 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6780ade28c..f6db72054e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-opentracing-opentracing-go
+  (package
+    (name "go-github-com-opentracing-opentracing-go")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/opentracing/opentracing-go")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04rgdwl29kimp2wnm4dycnzp7941hvpj6wym85x23c6fclacm94h"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/opentracing/opentracing-go"))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (home-page "https://github.com/opentracing/opentracing-go")
+    (synopsis "OpenTracing API for Go")
+    (description "opentracing-go is a Go platform API for OpenTracing.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-operatorfoundation-monolith-go
   (package
     (name "go-github-com-operatorfoundation-monolith-go")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 16/47] gnu: Add go-github-com-mufti1-interconv.
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 15/47] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:10   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 17/47] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:10 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-mufti1-interconv): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f6db72054e..9d2d092269 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,31 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-mufti1-interconv
+  (let ((commit "d7c72925c6568d60d361757bb9f2d252dcca745c")
+        (revision "28"))
+    (package
+      (name "go-github-com-mufti1-interconv")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/mufti1/interconv")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "13f5pvr74afa28pbpmgvjzjx68vv5zmrwlvxp7hr5bl5625zlxmy"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/mufti1/interconv"
+         #:import-path "github.com/mufti1/interconv/package"))
+      (synopsis "Convert interface into any data type")
+      (description "Convert interface into any data type.")
+      (home-page "https://github.com/mufti1/interconv")
+      (license license:expat))))
+
 (define-public go-github-com-opentracing-opentracing-go
   (package
     (name "go-github-com-opentracing-opentracing-go")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 17/47] gnu: Add go-github-com-aead-chacha20.
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 16/47] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:10   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 18/47] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:10 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.org (go-github-com-aead-chacha20): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9d2d092269..8554b32fef 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-aead-chacha20
+  (let ((commit "8b13a72661dae6e9e5dea04f344f0dc95ea29547")
+        (revision "114"))
+    (package
+      (name "go-github-com-aead-chacha20")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/aead/chacha20")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0gbmgq5kbqmbyrsav57ql4jzbvqvp1q7yvcd5fl3wf5g94iyv56r"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/aead/chacha20"))
+      (propagated-inputs
+       `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+      (synopsis "ChaCha20 and XChaCha20 stream ciphers")
+      (description "ChaCha is a stream cipher family created by Daniel Bernstein.
+The most common ChaCha variant is ChaCha20 (20 rounds).  ChaCha20 is
+standardized in RFC 7539.")
+      (home-page "https://github.com/aead/chacha20")
+      (license license:expat))))
+
 (define-public go-github-com-mufti1-interconv
   (let ((commit "d7c72925c6568d60d361757bb9f2d252dcca745c")
         (revision "28"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 18/47] gnu: Add go-github-com-riobard-go-bloom.
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 17/47] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:10   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 19/47] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 20/47] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:10 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-riobard-go-bloom): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8554b32fef..46b902b70c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-riobard-go-bloom
+  (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9")
+        (revision "15"))
+    (package
+      (name "go-github-com-riobard-go-bloom")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/riobard/go-bloom")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10a8ixh6zw52df2imxrzgxi82zc1j5hqnv5smjp818qwdn1a1rhj"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/riobard/go-bloom"))
+      (synopsis "Bloom filter in Go")
+      (description "Bloom Filter using double hashing.")
+      (home-page "https://github.com/riobard/go-bloom")
+      (license license:asl2.0))))
+
 (define-public go-github-com-aead-chacha20
   (let ((commit "8b13a72661dae6e9e5dea04f344f0dc95ea29547")
         (revision "114"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 19/47] gnu: Add go-github-com-shadowsocks-go-shadowsocks2.
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 18/47] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:10   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 20/47] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:10 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 46b902b70c..6805113e05 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,35 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-shadowsocks-go-shadowsocks2
+  (package
+    (name "go-github-com-shadowsocks-go-shadowsocks2")
+    ;; Version > 0.1.3 requires go-toolchain v1.16.
+    (version "0.1.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/shadowsocks/go-shadowsocks2")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wzy3ml4ld83iawcl6p313bskzs6zjhz8vlg8kpwgn71cnbv4pvi"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/shadowsocks/go-shadowsocks2"))
+    (propagated-inputs
+     `(("go-github-com-riobard-go-bloom" ,go-github-com-riobard-go-bloom)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+       ("go-golang-org-x-text" ,go-golang-org-x-text)))
+    (home-page "https://github.com/shadowsocks/go-shadowsocks2")
+    (synopsis "Shadowsocks in Go")
+    (description "Implementation of Shadowsocks in Go.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-riobard-go-bloom
   (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9")
         (revision "15"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 20/47] gnu: Add go-github-com-kataras-pio.
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-06-08 23:10   ` [bug#48729] [PATCH v3 19/47] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:10   ` Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:10 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-kataras-pio): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6805113e05..6ca92576d2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-kataras-pio
+  (package
+    (name "go-github-com-kataras-pio")
+    (version "0.0.10")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/kataras/pio")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11d2jy9xz4airicgmjcy4nb80kwv22jp140wzn2l5412jdr4jmkp"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/kataras/pio"))
+    (home-page "https://github.com/kataras/pio")
+    (synopsis "Pill for Input/Output")
+    (description "PIO is a low-level package that provides a way to centralize
+different output targets.  Supports colors and text decoration to all popular
+terminals.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-shadowsocks-go-shadowsocks2
   (package
     (name "go-github-com-shadowsocks-go-shadowsocks2")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (14 preceding siblings ...)
  2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:21 ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 22/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
                     ` (8 more replies)
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                   ` (2 subsequent siblings)
  18 siblings, 9 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-kataras-golog): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6ca92576d2..ef0c35d50b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-kataras-golog
+  (package
+    (name "go-github-com-kataras-golog")
+    (version "0.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/kataras/golog")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1ll24g50j48wqikzf67cyaq0m0f57v1ap24nbz3cmv3yzqi6wdl9"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/kataras/golog"))
+    (propagated-inputs
+     `(("go-github-com-kataras-pio" ,go-github-com-kataras-pio)))
+    (home-page "https://github.com/kataras/golog")
+    (synopsis "Level-based logger")
+    (description "GoLog is a logging foundation for Go Applications.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-kataras-pio
   (package
     (name "go-github-com-kataras-pio")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 22/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports.
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:21   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 23/47] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-transports): New variable.
---
 gnu/packages/golang.scm | 155 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 155 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ef0c35d50b..cde1627477 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,161 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-shapeshifter-transports
+  (package
+    (name "go-github-com-operatorfoundation-shapeshifter-transports")
+    (version "3.0.12")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/shapeshifter-transports")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0f1hzhk3q2fgqdg14zlg3z0s0ib1y9xwj89qnjk95b37zbgqjgsb"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/OperatorFoundation/shapeshifter-transports"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-source
+           (lambda _
+             (substitute* (find-files "." "\\.go$")
+               ;; Drop '.git' suffix in import path of goptlib.
+               (("goptlib\\.git") "goptlib"))
+             #t))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               ;;; ERROR: invalid memory address or nil pointer dereference.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               ;;; ERROR: failed with status 1.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               ;;; ERROR: bind: permission denied.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"))
+               ;;; ERROR: failed with status 1.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"))
+             #t)))))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (propagated-inputs
+     `(("go-github-com-aead-chacha20"
+        ,go-github-com-aead-chacha20)
+       ("go-github-com-blanu-dust"
+        ,go-github-com-blanu-dust)
+       ("go-github-com-deckarep-golang-set"
+        ,go-github-com-deckarep-golang-set)
+       ("go-github-com-kataras-golog"
+        ,go-github-com-kataras-golog)
+       ("go-github-com-mufti1-interconv"
+        ,go-github-com-mufti1-interconv)
+       ("go-github-com-opentracing-opentracing-go"
+        ,go-github-com-opentracing-opentracing-go)
+       ("go-github-com-operatorfoundation-monolith-go"
+        ,go-github-com-operatorfoundation-monolith-go)
+       ("go-github-com-operatorfoundation-obfs4"	
+        ,go-github-com-operatorfoundation-obfs4)
+       ("go-github-com-operatorfoundation-shapeshifter-ipc"
+        ,go-github-com-operatorfoundation-shapeshifter-ipc)
+       ("go-github-com-shadowsocks-go-shadowsocks2"
+        ,go-github-com-shadowsocks-go-shadowsocks2)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-torproject-org-pluggable-transports-goptlib"
+        ,go-torproject-org-pluggable-transports-goptlib)))
+    (home-page "https://github.com/OperatorFoundation/shapeshifter-transports")
+    (synopsis "Go implementation of Pluggable Transports")
+    (description "Shapeshifter Transports is a set of Pluggable Transports
+implementing the Go API from the Pluggable Transports 2.0 specification.")
+    (license license:expat)))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 23/47] gnu: Add go-0xacab-org-leap-shapeshifter.
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 22/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:21   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-0xacab-org-leap-shapeshifter): New variable.
---
 gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cde1627477..d541b696be 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,39 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-0xacab-org-leap-shapeshifter
+  (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
+        (revision "12"))
+    (package
+      (name "go-0xacab-org-leap-shapeshifter")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://0xacab.org/leap/shapeshifter")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0m4fla9ppl53k9syms4dsad92wakr74cdvids3xxv3amdh4d1w4i"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "0xacab.org/leap/shapeshifter"))
+      (propagated-inputs
+       `(("go-github-com-operatorfoundation-obfs4"
+          ,go-github-com-operatorfoundation-obfs4)
+         ("go-github-com-operatorfoundation-shapeshifter-transports"
+          ,go-github-com-operatorfoundation-shapeshifter-transports)
+         ("go-golang-org-x-net" ,go-golang-org-x-net)))
+      (synopsis "Network Obfuscater")
+      (description "Shapeshifter provides network protocol shapeshifting
+technology.  The purpose of this technology is to change the characteristics of
+network traffic so that it is not identified and subsequently blocked by network
+filtering devices.")
+      (home-page "https://0xacab.org/leap/shapeshifter")
+      (license license:bsd-2))))
+
 (define-public go-github-com-operatorfoundation-shapeshifter-transports
   (package
     (name "go-github-com-operatorfoundation-shapeshifter-transports")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 24/47] gnu: Add go-github-com-jezek-xgb.
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 22/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 23/47] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:21   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 25/47] gnu: Add go-github-com-burntsushi-xgbutil Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-jezek-xgb): New variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d541b696be..d06a617ebd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,32 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-jezek-xgb
+  (let ((commit "0e0f116e1240ae19099324c3b2632003082841b7")
+        (revision "155"))
+    (package
+      (name "go-github-com-jezek-xgb")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/jezek/xgb")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0zwy88ksh896i78h0k038s5fmg9bgxbphkiznqq5525137m6w7gz"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/jezek/xgb"))
+      (synopsis "X Go Binding")
+      (description "XGB is the X Go Binding, which is a low-level API to
+communicate with the core X protocol and many of the X extensions.  It is
+closely modeled after XCB and xpyb.")
+      (home-page "https://github.com/jezek/xgb")
+      (license license:bsd-3))))
+
 (define-public go-0xacab-org-leap-shapeshifter
   (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
         (revision "12"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 25/47] gnu: Add go-github-com-burntsushi-xgbutil.
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:21   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 26/47] gnu: Add go-github-com-getlantern-context Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-burntsushi-xgbutil): New variable.
---
 gnu/packages/golang.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d06a617ebd..9c182bba3c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,46 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-burntsushi-xgbutil
+  (let ((commit "ad855c7130460fb6cf40af9302c649a69082a4ee")
+        (revision "335"))
+    (package
+      (name "go-github-com-burntsushi-xgbutil")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/BurntSushi/xgbutil")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0zyqinxjgd7w3qzl2jhc8ipyyg1rh7xjxpd85p88m213ak5865bq"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/BurntSushi/xgbutil"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch-source
+             (lambda _
+               (substitute* (find-files "." "\\.go$")
+                 ;; Use 'jezek/xgb' instead of 'BurntSushi/xgb',
+                 ;; as the latter is unmaintained.
+                 (("github.com/BurntSushi/xgb")
+                  "github.com/jezek/xgb"))
+               #t)))))
+      (propagated-inputs
+       `(("go-github-com-jezek-xgb" ,go-github-com-jezek-xgb)))
+      (synopsis "Utility Library for X Go Binding")
+      (description "Xgbutil is a utility library designed to work with the X Go
+Binding.  This project's main goal is to make various X related tasks easier.
+For example, binding keys, using the EWMH or ICCCM specs with the window manager,
+moving/resizing windows, assigning function callbacks to particular events,
+drawing images to a window, etc.")
+      (home-page "https://github.com/BurntSushi/xgbutil")
+      (license license:wtfpl2))))
+
 (define-public go-github-com-jezek-xgb
   (let ((commit "0e0f116e1240ae19099324c3b2632003082841b7")
         (revision "155"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 26/47] gnu: Add go-github-com-getlantern-context.
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 25/47] gnu: Add go-github-com-burntsushi-xgbutil Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:21   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 27/47] gnu: Add go-github-com-getlantern-ops Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-getlantern-context): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9c182bba3c..7ccb085587 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-context
+  (let ((commit "c447772a6520c1a3ae6294a7df725ee08230f14e")
+        (revision "30"))
+    (package
+      (name "go-github-com-getlantern-context")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/context")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "08s1m1pqkwppvvc6biccyxs7wqzmgjyhyqdgfzwm9vp0c6vzr2sg"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/getlantern/context"))
+      (native-inputs
+       `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (synopsis "Goroutine-based Context State")
+      (description "This package provides a stack abstraction that allows nested
+contexts similar to jtolds' library, but using Enter() and Exit() instead of
+callback functions.")
+      (home-page "https://github.com/getlantern/context")
+      (license license:asl2.0))))
+
 (define-public go-github-com-burntsushi-xgbutil
   (let ((commit "ad855c7130460fb6cf40af9302c649a69082a4ee")
         (revision "335"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 27/47] gnu: Add go-github-com-getlantern-ops.
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 26/47] gnu: Add go-github-com-getlantern-context Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:21   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 28/47] gnu: Add go-github-com-getlantern-hex Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-getlantern-ops): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7ccb085587..9e94c8e43d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-ops
+  (let ((commit "8476b16edcd6719b2399ae70bca5cff3a1547a44")
+        (revision "21"))
+    (package
+      (name "go-github-com-getlantern-ops")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/ops")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1mh2xp48x9im4l736l5zxz38kghxa5624nlyfaxmj18xn0jxr8nn"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:tests? #f    ; circular-dependency with 'getlantern/errors'
+         #:import-path "github.com/getlantern/ops"))
+      (propagated-inputs
+       `(("go-github-com-getlantern-context"
+          ,go-github-com-getlantern-context)))
+      (synopsis "Track success or failure of operations in code")
+      (description "Track success or failure of operations in code.")
+      (home-page "https://github.com/getlantern/ops")
+      (license license:asl2.0))))
+
 (define-public go-github-com-getlantern-context
   (let ((commit "c447772a6520c1a3ae6294a7df725ee08230f14e")
         (revision "30"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 28/47] gnu: Add go-github-com-getlantern-hex.
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 27/47] gnu: Add go-github-com-getlantern-ops Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:21   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 29/47] gnu: Add go-github-com-getlantern-hidden Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 30/47] gnu: Add go-github-com-go-stack-stack Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-getlantern-hex): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9e94c8e43d..376cce1fc9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-hex
+  (let ((commit "c6586a6fe0b7c95eef767657ab1031cbcfc7af66")
+        (revision "4"))
+    (package
+      (name "go-github-com-getlantern-hex")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/hex")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "09vbm93y88b8hwv15rqkzrmrjqzl5zj8bijllzh8npibqhh84qsq"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/getlantern/hex"))
+      (synopsis "Configurable hex encoding")
+      (description "Configurable hex encoding.")
+      (home-page "https://github.com/getlantern/hex")
+      (license license:bsd-3))))
+
 (define-public go-github-com-getlantern-ops
   (let ((commit "8476b16edcd6719b2399ae70bca5cff3a1547a44")
         (revision "21"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 29/47] gnu: Add go-github-com-getlantern-hidden.
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 28/47] gnu: Add go-github-com-getlantern-hex Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:21   ` Raghav Gururajan via Guix-patches via
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 30/47] gnu: Add go-github-com-go-stack-stack Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-getlantern-hidden): New variable.
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 376cce1fc9..b780b98d2b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,35 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-hidden
+  (let ((commit "e66e7f8787308d0d5a87a2ebe170f19d43bece78")
+        (revision "5"))
+    (package
+      (name "go-github-com-getlantern-hidden")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/hidden")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1zk6ynzaqyif3h61mb8n3qdz1ncbhq1fbfppdaqkzgqjkb1b53iv"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/getlantern/hidden"))
+      (native-inputs
+       `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (propagated-inputs
+       `(("go-github-com-getlantern-hex"
+          ,go-github-com-getlantern-hex)))
+      (synopsis "Hide text in text")
+      (description "Hide text in text.")
+      (home-page "https://github.com/getlantern/hidden")
+      (license license:asl2.0))))
+
 (define-public go-github-com-getlantern-hex
   (let ((commit "c6586a6fe0b7c95eef767657ab1031cbcfc7af66")
         (revision "4"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 30/47] gnu: Add go-github-com-go-stack-stack.
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-06-08 23:21   ` [bug#48729] [PATCH v3 29/47] gnu: Add go-github-com-getlantern-hidden Raghav Gururajan via Guix-patches via
@ 2021-06-08 23:21   ` Raghav Gururajan via Guix-patches via
  8 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-08 23:21 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b780b98d2b..0bd8792c10 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-go-stack-stack
+  (package
+    (name "go-github-com-go-stack-stack")
+    (version "1.8.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/go-stack/stack")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0wk25751ryyvxclyp8jdk5c3ar0cmfr8lrjb66qbg4808x66b96v"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/go-stack/stack"))
+    (home-page "https://github.com/go-stack/stack")
+    (synopsis "Stack Utilities for Go")
+    (description "Stack implements utilities to capture, manipulate, and format
+call stacks.  It provides a simpler API than package runtime.")
+    (license license:expat)))
+
 (define-public go-github-com-getlantern-hidden
   (let ((commit "e66e7f8787308d0d5a87a2ebe170f19d43bece78")
         (revision "5"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (15 preceding siblings ...)
  2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00 ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 32/47] gnu: Add go-github-com-oxtoacart-bpool Raghav Gururajan via Guix-patches via
                     ` (15 more replies)
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
  18 siblings, 16 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-getlantern-errors): New variable.
---
 gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0bd8792c10..4886a0d326 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,39 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-errors
+  (package
+    (name "go-github-com-getlantern-errors")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/getlantern/errors")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0ymz5nb9dplrim9sgfb523iqx1x08bxvbv9383ry2zbsfgqkc966"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/getlantern/errors"))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (propagated-inputs
+     `(("go-github-com-getlantern-context"
+        ,go-github-com-getlantern-context)
+       ("go-github-com-getlantern-hidden"
+        ,go-github-com-getlantern-hidden)
+       ("go-github-com-getlantern-ops"
+        ,go-github-com-getlantern-ops)
+       ("go-github-com-go-stack-stack"
+        ,go-github-com-go-stack-stack)))
+    (home-page "https://github.com/getlantern/errors")
+    (synopsis "Structured errors for Go")
+    (description "Structured errors for Go.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-go-stack-stack
   (package
     (name "go-github-com-go-stack-stack")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 32/47] gnu: Add go-github-com-oxtoacart-bpool.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 33/47] gnu: Add go-github-com-getlantern-golog Raghav Gururajan via Guix-patches via
                     ` (14 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-oxtoacart-bpool): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4886a0d326..eaca6b9351 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-oxtoacart-bpool
+  (let ((commit "03653db5a59cd88b481403d312d7c324b56af377")
+        (revision "18"))
+    (package
+      (name "go-github-com-oxtoacart-bpool")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/oxtoacart/bpool")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1crdgm5w6kvcnvdglrrnrfkh5h60ldafwvrv00q97lz3790kgb15"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/oxtoacart/bpool"))
+      (native-inputs
+       `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (synopsis "Buffer/Byte pool for Go")
+      (description "Bpool implements leaky pools of byte arrays and buffers as
+bounded channels.  It is based on the leaky buffer example from the Effective Go
+documentation.")
+      (home-page "https://github.com/oxtoacart/bpool")
+      (license license:asl2.0))))
+
 (define-public go-github-com-getlantern-errors
   (package
     (name "go-github-com-getlantern-errors")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 33/47] gnu: Add go-github-com-getlantern-golog.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 32/47] gnu: Add go-github-com-oxtoacart-bpool Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 34/47] gnu: Add go-github-com-getlantern-systray Raghav Gururajan via Guix-patches via
                     ` (13 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-getlantern-golog): New variable.
---
 gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index eaca6b9351..3e7366f60f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,41 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-golog
+  (let ((commit "9586b8bde3a95f71c84d9ee2a1a3f778759a76ab")
+        (revision "25"))
+    (package
+      (name "go-github-com-getlantern-golog")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/getlantern/golog")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0pqmvjqh5lv5ldc93srvlq9nwianxyjfvmjzxx4xmncbxgqsxgli"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/getlantern/golog"))
+      (native-inputs
+       `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+      (propagated-inputs
+       `(("go-github-com-getlantern-errors"
+          ,go-github-com-getlantern-errors)
+         ("go-github-com-getlantern-hidden"
+          ,go-github-com-getlantern-hidden)
+         ("go-github-com-getlantern-ops"
+          ,go-github-com-getlantern-ops)
+         ("go-github-com-oxtoacart-bpool"
+          ,go-github-com-oxtoacart-bpool)))
+      (synopsis "Basic logging for Go")
+      (description "GoLog provides logging used in many getlantern components.")
+      (home-page "https://github.com/getlantern/golog")
+      (license license:asl2.0))))
+
 (define-public go-github-com-oxtoacart-bpool
   (let ((commit "03653db5a59cd88b481403d312d7c324b56af377")
         (revision "18"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 34/47] gnu: Add go-github-com-getlantern-systray.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 32/47] gnu: Add go-github-com-oxtoacart-bpool Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 33/47] gnu: Add go-github-com-getlantern-golog Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 35/47] gnu: Add go-github-com-gotk3-gotk3 Raghav Gururajan via Guix-patches via
                     ` (12 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-getlantern-systray): New variable.
---
 gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3e7366f60f..e9611b6f67 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -55,8 +55,10 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages base)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages pcre)
@@ -69,6 +71,39 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-getlantern-systray
+  (package
+    (name "go-github-com-getlantern-systray")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/getlantern/systray")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0m2n29jmks8rwcwixgmmd5dhpzqw1f7mqyjgyqyycml5w6da2m7z"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/getlantern/systray"))
+    (native-inputs
+     `(("gtk+:bin" ,gtk+ "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("libappindicator" ,libappindicator)))
+    (propagated-inputs
+     `(("go-github-com-getlantern-golog"
+        ,go-github-com-getlantern-golog)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/getlantern/systray")
+    (synopsis "System Tray library for Go")
+    (description "SysTray is a cross-platform Go library to place an icon and
+menu in the notification area.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-getlantern-golog
   (let ((commit "9586b8bde3a95f71c84d9ee2a1a3f778759a76ab")
         (revision "25"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 35/47] gnu: Add go-github-com-gotk3-gotk3.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 34/47] gnu: Add go-github-com-getlantern-systray Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 36/47] gnu: Add go-github-com-jmshal-go-locale Raghav Gururajan via Guix-patches via
                     ` (11 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, Jorge Gomez

* gnu/packages/goloang.scm (go-github-com-gotk3-gotk3): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/golang.scm | 110 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 110 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e9611b6f67..ad0ba57b78 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -68,9 +68,119 @@
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xorg)
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-gotk3-gotk3
+  (package
+    (name "go-github-com-gotk3-gotk3")
+    (version "0.5.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/gotk3/gotk3")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1d5b4nrf4fwdwv0w2h7m0jh65fcvm3xmjv3aypylzaa4fg8wi4cc"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/gotk3/gotk3"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/gotk3/gotk3/cairo"
+               "github.com/gotk3/gotk3/gdk"
+               "github.com/gotk3/gotk3/gio"
+               "github.com/gotk3/gotk3/glib"
+               "github.com/gotk3/gotk3/gtk"
+               "github.com/gotk3/gotk3/pango"))
+             #t))
+         (add-before 'check 'pre-check
+           (lambda _
+             ;; Tests require a running X server.
+             (system "Xvfb :1 +extension GLX &")
+             (setenv "DISPLAY" ":1")
+             ;; Tests write to $HOME.
+             (setenv "HOME" (getcwd))
+             ;; Tests look for $XDG_RUNTIME_DIR.
+             (setenv "XDG_RUNTIME_DIR" (getcwd))
+             ;; For missing '/etc/machine-id'.
+             (setenv "DBUS_FATAL_WARNINGS" "0")
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/gotk3/gotk3/cairo"
+               "github.com/gotk3/gotk3/gdk"
+               "github.com/gotk3/gotk3/gio"
+               "github.com/gotk3/gotk3/glib"
+               "github.com/gotk3/gotk3/gtk"
+               "github.com/gotk3/gotk3/pango"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/gotk3/gotk3/cairo"
+               "github.com/gotk3/gotk3/gdk"
+               "github.com/gotk3/gotk3/gio"
+               "github.com/gotk3/gotk3/glib"
+               "github.com/gotk3/gotk3/gtk"
+               "github.com/gotk3/gotk3/pango"))
+             #t)))))
+    (native-inputs
+     `(("glib:bin" ,glib "bin")
+       ("gtk+:bin" ,gtk+ "bin")
+       ("pkg-config" ,pkg-config)
+       ("xorg-server" ,xorg-server-for-tests)))
+    (inputs
+     `(("cairo" ,cairo)
+       ("glib" ,glib)
+       ("gtk+" ,gtk+)
+       ("pango" ,pango)))
+    (home-page "https://github.com/gotk3/gotk3")
+    (synopsis "Go bindings for GTK3")
+    (description "Gotk3 provides Go bindings for GTK 3 and dependent projects.")
+    (license license:isc)))
+
 (define-public go-github-com-getlantern-systray
   (package
     (name "go-github-com-getlantern-systray")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 36/47] gnu: Add go-github-com-jmshal-go-locale.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 35/47] gnu: Add go-github-com-gotk3-gotk3 Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 37/47] gnu: Add gtkglarea Raghav Gururajan via Guix-patches via
                     ` (10 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-jmshal-go-locale): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ad0ba57b78..d9a2f40285 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -72,6 +72,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-jmshal-go-locale
+  (let ((commit "eb00fb25cc61bca7a5331ae576ae4a3d5572a1e4")
+        (revision "8"))
+    (package
+      (name "go-github-com-jmshal-go-locale")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/jmshal/go-locale")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "05lyrcsrj0vzk30laa9zyy574ijh6f0ybzdv65w4l6n5yibjgnwa"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/jmshal/go-locale"))
+      (synopsis "User locale detection for Go")
+      (description "User locale detection for Go.")
+      (home-page "https://github.com/jmshal/go-locale")
+      (license license:expat))))
+
 (define-public go-github-com-gotk3-gotk3
   (package
     (name "go-github-com-gotk3-gotk3")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 37/47] gnu: Add gtkglarea.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 36/47] gnu: Add go-github-com-jmshal-go-locale Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 38/47] gnu: Add gtkspell2 Raghav Gururajan via Guix-patches via
                     ` (9 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/gnome.scm (gtkglarea): New variable.
---
 gnu/packages/gnome.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 2f579a2f82..837ab3564b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -219,6 +219,37 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public gtkglarea
+  (package
+    (name "gtkglarea")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "mirror://gnome/sources/" name "/"
+                       (version-major+minor version) "/"
+                       name "-" version ".tar.xz"))
+       (sha256
+        (base32 "1pl2vdj6l64j864ilhkq1bcggb3hrlxjwk5m029i7xfjfxc587lf"))))
+    (build-system glib-or-gtk-build-system)
+    (arguments
+     `(#:configure-flags
+       (list
+        "--disable-static")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("mesa" ,mesa)))
+    (propagated-inputs
+     `(("gtk+" ,gtk+-2)))
+    (synopsis "OpenGL widget for GTK+")
+    (description "GtkGLArea is an OpenGL widget for GTK+ GUI toolkit.
+ Just as GTK+ is build on top of GDK, GtkGLArea is built on top of gdkgl which
+ is basically wrapper around GLX functions.")
+    (home-page "https://developer.gnome.org/gtk3/stable/GtkGLArea.html")
+    (license license:lgpl2.0+)))
+
 (define-public gupnp-igd
   (package
     (name "gupnp-igd")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 38/47] gnu: Add gtkspell2.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 37/47] gnu: Add gtkglarea Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 39/47] gnu: Add go-github-com-mattn-go-gtk Raghav Gururajan via Guix-patches via
                     ` (8 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/gtk.scm (gtkspell2): New variable.
---
 gnu/packages/gtk.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 138fa7c314..c8c7d1e718 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1914,6 +1914,33 @@ glass artworks done by Venicians glass blowers.")
 misspelled words in a GtkTextView widget.")
     (license license:gpl2+)))
 
+(define-public gtkspell2
+  (package
+    (inherit gtkspell3)
+    (name "gtkspell2")
+    (version "2.0.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://sourceforge/gtkspell/"
+                           version "/gtkspell-" version ".tar.gz"))
+       (sha256
+        (base32 "00hdv28bp72kg1mq2jdz1sdw2b8mb9iclsp7jdqwpck705bdriwg"))))
+    (arguments
+     `(#:configure-flags
+       (list
+        "--disable-static")))
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)
+       ("xmllint" ,libxml2)))
+    (inputs
+     `(("enchant" ,enchant-1.6)
+       ("pango" ,pango)))
+    (propagated-inputs
+     `(("gtk+" ,gtk+-2)))))
+
 (define-public clipit
   (package
     (name "clipit")
-- 
2.31.1





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

* [bug#48729] [PATCH v3 39/47] gnu: Add go-github-com-mattn-go-gtk.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 38/47] gnu: Add gtkspell2 Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-mattn-go-gtk): New variable.
---
 gnu/packages/golang.scm | 135 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 135 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d9a2f40285..691a5fed00 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -58,6 +58,7 @@
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages mp3)
@@ -72,6 +73,140 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-mattn-go-gtk
+  (let ((commit "af2e013261f57706ec683a61f85e8759a3faf6be")
+        (revision "1134"))
+    (package
+      (name "go-github-com-mattn-go-gtk")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/mattn/go-gtk")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1zcvxz45iinamxnpvwf5ij9f6dk62bdbjg1vaggvyz79z5y9llk2"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/mattn/go-gtk"
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'build
+             (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'build)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:build-flags build-flags
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/mattn/go-gtk/gdk"
+                 "github.com/mattn/go-gtk/gdkpixbuf"
+                 "github.com/mattn/go-gtk/gio"
+                 "github.com/mattn/go-gtk/glib"
+                 "github.com/mattn/go-gtk/gtk"
+                 "github.com/mattn/go-gtk/gtkgl"
+                 "github.com/mattn/go-gtk/gtksourceview"
+                 "github.com/mattn/go-gtk/gtkspell"
+                 "github.com/mattn/go-gtk/pango"
+                 "github.com/mattn/go-gtk/tools/gogtkinfo"
+                 "github.com/mattn/go-gtk/tools/make_inline_pixbuf"))
+               #t))
+           (add-before 'check 'pre-check
+             (lambda _
+               ;; Tests require a running X server.
+               (system "Xvfb :1 +extension GLX &")
+               (setenv "DISPLAY" ":1")
+               ;; Tests write to $HOME.
+               (setenv "HOME" (getcwd))
+               ;; Tests look for $XDG_RUNTIME_DIR.
+               (setenv "XDG_RUNTIME_DIR" (getcwd))
+               ;; For missing '/etc/machine-id'.
+               (setenv "DBUS_FATAL_WARNINGS" "0")
+               #t))
+           (replace 'check
+             (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'check)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:tests? tests?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/mattn/go-gtk/gdk"
+                 "github.com/mattn/go-gtk/gdkpixbuf"
+                 "github.com/mattn/go-gtk/gio"
+                 "github.com/mattn/go-gtk/glib"
+                 "github.com/mattn/go-gtk/gtk"
+                 "github.com/mattn/go-gtk/gtkgl"
+                 "github.com/mattn/go-gtk/gtksourceview"
+                 "github.com/mattn/go-gtk/gtkspell"
+                 "github.com/mattn/go-gtk/pango"
+                 "github.com/mattn/go-gtk/tools/gogtkinfo"))
+               ;; ERROR: Println arg list ends with redundant newline.
+               ;;"github.com/mattn/go-gtk/tools/make_inline_pixbuf"))
+               #t))
+           (replace 'install
+             (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'install)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:install-source? install-source?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/mattn/go-gtk/gdk"
+                 "github.com/mattn/go-gtk/gdkpixbuf"
+                 "github.com/mattn/go-gtk/gio"
+                 "github.com/mattn/go-gtk/glib"
+                 "github.com/mattn/go-gtk/gtk"
+                 "github.com/mattn/go-gtk/gtkgl"
+                 "github.com/mattn/go-gtk/gtksourceview"
+                 "github.com/mattn/go-gtk/gtkspell"
+                 "github.com/mattn/go-gtk/pango"
+                 "github.com/mattn/go-gtk/tools/gogtkinfo"
+                 "github.com/mattn/go-gtk/tools/make_inline_pixbuf"))
+               #t)))))
+      (native-inputs
+       `(("glib:bin" ,glib "bin")
+         ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
+         ("gtk+:bin" ,gtk+-2 "bin")
+         ("pkg-config" ,pkg-config)
+         ("xorg-server" ,xorg-server-for-tests)))
+      (inputs
+       `(("gdk-pixbuf" ,gdk-pixbuf+svg)
+         ("glib" ,glib)
+         ("gtk+" ,gtk+-2)
+         ("gtkgl" ,gtkglarea)
+         ("gtksourceview" ,gtksourceview-2)
+         ("gtkspell" ,gtkspell2)
+         ("pango" ,pango)))
+      (propagated-inputs
+       `(("go-github-com-mattn-go-pointer"
+          ,go-github-com-mattn-go-pointer)))
+      (home-page "https://github.com/mattn/go-gtk")
+      (synopsis "Go bindings for GTK")
+      (description "Go bindings for GTK.")
+      (license license:bsd-3))))
+
 (define-public go-github-com-jmshal-go-locale
   (let ((commit "eb00fb25cc61bca7a5331ae576ae4a3d5572a1e4")
         (revision "8"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 40/47] gnu: Add go-github-com-grd-glfw3.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 39/47] gnu: Add go-github-com-mattn-go-gtk Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 41/47] gnu: Add go-github-com-go-gl-glow Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-grd-glfw3): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 691a5fed00..7661813489 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -57,6 +57,7 @@
   #:use-module (gnu packages base)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
@@ -73,6 +74,32 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-grd-glfw3
+  (let ((commit "55390ea70f0d427a7ed40c26ea19e82fce17c927")
+        (revision "100"))
+    (package
+      (name "go-github-com-grd-glfw3")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/grd/glfw3")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "15avw38mgx54a3rmlz97ryczpcbibn00rd8486w2si6f1zcawpxw"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/grd/glfw3"))
+      (inputs
+       `(("glfw" ,glfw)))
+      (home-page "https://github.com/grd/glfw3")
+      (synopsis "Go bindings for GLFW3")
+      (description "Go bindings for GLFW3.")
+      (license license:bsd-3))))
+
 (define-public go-github-com-mattn-go-gtk
   (let ((commit "af2e013261f57706ec683a61f85e8759a3faf6be")
         (revision "1134"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 41/47] gnu: Add go-github-com-go-gl-glow.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (8 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 42/47] gnu: Add go-github-com-go-gl-gl Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-go-gl-glow): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7661813489..3a632b0705 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-go-gl-glow
+  (let ((commit "640349a6105e64eb9e5085d2afee1ab2ec67d2dc")
+        (revision "300"))
+    (package
+      (name "go-github-com-go-gl-glow")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/go-gl/glow")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1lzibraqjkzibvxw1lagrlzpjsqbp5pd4fcyi6ygqhgja0ik3zd7"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/go-gl/glow"))
+      (propagated-inputs
+       `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
+      (home-page "https://github.com/go-gl/glow")
+      (synopsis "Go binding generator for OpenGL")
+      (description "Glow is an OpenGL binding generator for Go.  It parses the
+OpenGL XML API registry and the EGL XML API registry to produce a
+machine-generated cgo bridge between Go functions and native OpenGL functions.")
+      (license license:expat))))
+
 (define-public go-github-com-grd-glfw3
   (let ((commit "55390ea70f0d427a7ed40c26ea19e82fce17c927")
         (revision "100"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 42/47] gnu: Add go-github-com-go-gl-gl.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (9 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 41/47] gnu: Add go-github-com-go-gl-glow Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 43/47] gnu: Add go-github-com-skelterjohn-go-wde Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3a632b0705..074e8e6bdf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,140 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-go-gl-gl
+  (let ((commit "69f74958bac0960e82e8ac5977ff073af29381ba")
+        (revision "87"))
+    (package
+      (name "go-github-com-go-gl-gl")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/go-gl/gl")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "15bqz4dax3b5ha9qcc855aczsa89qa65p578dnjrbww53q31s5w0"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/go-gl/gl"
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'build
+             (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'build)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:build-flags build-flags
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/go-gl/gl/all-core/gl"
+                 "github.com/go-gl/gl/v2.1/gl"
+                 "github.com/go-gl/gl/v3.1/gles2"
+                 "github.com/go-gl/gl/v3.2-compatibility/gl"
+                 "github.com/go-gl/gl/v3.2-core/gl"
+                 "github.com/go-gl/gl/v3.3-compatibility/gl"
+                 "github.com/go-gl/gl/v3.3-core/gl"
+                 "github.com/go-gl/gl/v4.1-compatibility/gl"
+                 "github.com/go-gl/gl/v4.1-core/gl"
+                 "github.com/go-gl/gl/v4.2-compatibility/gl"
+                 "github.com/go-gl/gl/v4.2-core/gl"
+                 "github.com/go-gl/gl/v4.3-compatibility/gl"
+                 "github.com/go-gl/gl/v4.3-core/gl"
+                 "github.com/go-gl/gl/v4.4-compatibility/gl"
+                 "github.com/go-gl/gl/v4.4-core/gl"
+                 "github.com/go-gl/gl/v4.5-compatibility/gl"
+                 "github.com/go-gl/gl/v4.5-core/gl"
+                 "github.com/go-gl/gl/v4.6-compatibility/gl"
+                 "github.com/go-gl/gl/v4.6-core/gl"))
+               #t))
+           (replace 'check
+             (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'check)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:tests? tests?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/go-gl/gl/all-core/gl"
+                 "github.com/go-gl/gl/v2.1/gl"
+                 "github.com/go-gl/gl/v3.1/gles2"
+                 "github.com/go-gl/gl/v3.2-compatibility/gl"
+                 "github.com/go-gl/gl/v3.2-core/gl"
+                 "github.com/go-gl/gl/v3.3-compatibility/gl"
+                 "github.com/go-gl/gl/v3.3-core/gl"
+                 "github.com/go-gl/gl/v4.1-compatibility/gl"
+                 "github.com/go-gl/gl/v4.1-core/gl"
+                 "github.com/go-gl/gl/v4.2-compatibility/gl"
+                 "github.com/go-gl/gl/v4.2-core/gl"
+                 "github.com/go-gl/gl/v4.3-compatibility/gl"
+                 "github.com/go-gl/gl/v4.3-core/gl"
+                 "github.com/go-gl/gl/v4.4-compatibility/gl"
+                 "github.com/go-gl/gl/v4.4-core/gl"
+                 "github.com/go-gl/gl/v4.5-compatibility/gl"
+                 "github.com/go-gl/gl/v4.5-core/gl"
+                 "github.com/go-gl/gl/v4.6-compatibility/gl"
+                 "github.com/go-gl/gl/v4.6-core/gl"))
+               #t))
+           (replace 'install
+             (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'install)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:install-source? install-source?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/go-gl/gl/all-core/gl"
+                 "github.com/go-gl/gl/v2.1/gl"
+                 "github.com/go-gl/gl/v3.1/gles2"
+                 "github.com/go-gl/gl/v3.2-compatibility/gl"
+                 "github.com/go-gl/gl/v3.2-core/gl"
+                 "github.com/go-gl/gl/v3.3-compatibility/gl"
+                 "github.com/go-gl/gl/v3.3-core/gl"
+                 "github.com/go-gl/gl/v4.1-compatibility/gl"
+                 "github.com/go-gl/gl/v4.1-core/gl"
+                 "github.com/go-gl/gl/v4.2-compatibility/gl"
+                 "github.com/go-gl/gl/v4.2-core/gl"
+                 "github.com/go-gl/gl/v4.3-compatibility/gl"
+                 "github.com/go-gl/gl/v4.3-core/gl"
+                 "github.com/go-gl/gl/v4.4-compatibility/gl"
+                 "github.com/go-gl/gl/v4.4-core/gl"
+                 "github.com/go-gl/gl/v4.5-compatibility/gl"
+                 "github.com/go-gl/gl/v4.5-core/gl"
+                 "github.com/go-gl/gl/v4.6-compatibility/gl"
+                 "github.com/go-gl/gl/v4.6-core/gl"))
+               #t)))))
+      (native-inputs
+       `(("pkg-config" ,pkg-config)))
+      (inputs
+       `(("mesa" ,mesa)))
+      (propagated-inputs
+       `(("go-github-com-go-gl-glow" ,go-github-com-go-gl-glow)))
+      (home-page "https://github.com/go-gl/gl")
+      (synopsis "Go bindings for OpenGL")
+      (description "Go-GL holds Go bindings to various OpenGL versions.")
+      (license license:expat))))
+
 (define-public go-github-com-go-gl-glow
   (let ((commit "640349a6105e64eb9e5085d2afee1ab2ec67d2dc")
         (revision "300"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 43/47] gnu: Add go-github-com-skelterjohn-go-wde.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (10 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 42/47] gnu: Add go-github-com-go-gl-gl Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 44/47] gnu: Add go-github-com-skratchdot-open-golang Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-skelterjohn-go-wde): New variable.
---
 gnu/packages/golang.scm | 43 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 074e8e6bdf..e5e3098e97 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,49 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-skelterjohn-go-wde
+  (let ((commit "adc3f78cdb457e9db21bfff010c85ed97315d8d7")
+        (revision "203"))
+    (package
+      (name "go-github-com-skelterjohn-go-wde")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/skelterjohn/go.wde")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1zxdilxd7iyv367xv7qx7ca0v6fkw5l8gy1bv8s762akx0vqbd85"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/skelterjohn/go.wde"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch-source
+             (lambda _
+               (substitute* (find-files "." "\\.go$")
+                 ;; Use 'jezek/xgb' instead of 'BurntSushi/xgb',
+                 ;; as the latter is unmaintained.
+                 (("github.com/BurntSushi/xgb")
+                  "github.com/jezek/xgb"))
+               #t)))))
+      (propagated-inputs
+       `(("go-github-com-go-gl-gl"
+          ,go-github-com-go-gl-gl)
+         ("go-github-com-grd-glfw3"
+          ,go-github-com-grd-glfw3)
+         ("go-github-com-jezek-xgb"
+          ,go-github-com-jezek-xgb)
+         ("go-github-com-burntsushi-xgbutil"
+          ,go-github-com-burntsushi-xgbutil)))
+      (home-page "https://github.com/skelterjohn/go.wde")
+      (synopsis "Windows, drawing and events for Go")
+      (description "Go-WDE provides (W)indows, (D)rawing and (E)vents for Go.")
+      (license license:asl2.0))))
+
 (define-public go-github-com-go-gl-gl
   (let ((commit "69f74958bac0960e82e8ac5977ff073af29381ba")
         (revision "87"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 44/47] gnu: Add go-github-com-skratchdot-open-golang.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (11 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 43/47] gnu: Add go-github-com-skelterjohn-go-wde Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 45/47] gnu: Add go-github-com-sqweek-dialog Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-skratchdot-open-golang): New variable.
---
 gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e5e3098e97..d6e54c9d8b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,41 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-skratchdot-open-golang
+  (let ((commit "eef8423979666925a58eb77f9db583e54320d5a4")
+        (revision "28"))
+    (package
+      (name "go-github-com-skratchdot-open-golang")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/skratchdot/open-golang")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0n6387csjn024db8wldadsiy8ljz7lk7szl6ls28fcbkax7rw86y"))
+         (modules '((guix build utils)))
+         (snippet
+          `(begin
+             (delete-file-recursively "vendor")
+             #t))))
+      (build-system go-build-system)
+      (arguments
+       `(#:tests? #f                    ; requires networking
+         #:unpack-path "github.com/skratchdot/open-golang"
+         #:import-path "github.com/skratchdot/open-golang/open"))
+      (inputs
+       `(("xdg-open" ,xdg-utils)))
+      (home-page "https://github.com/skratchdot/open-golang")
+      (synopsis "Proxy for XDG-Open")
+      (description "Open-GoLang provides a module to open a file, directory, or
+URI using the OS's default application for that object type.  Optionally, you can
+specify an application to use.")
+      (license license:expat))))
+
 (define-public go-github-com-skelterjohn-go-wde
   (let ((commit "adc3f78cdb457e9db21bfff010c85ed97315d8d7")
         (revision "203"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 45/47] gnu: Add go-github-com-sqweek-dialog.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (12 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 44/47] gnu: Add go-github-com-skratchdot-open-golang Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 46/47] gnu: Add go-0xacab-org-leap-go-dialog Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 47/47] gnu: Add bitmask-vpn Raghav Gururajan via Guix-patches via
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-sqweek-dialog): New variable.
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d6e54c9d8b..f92e14ad28 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,35 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-sqweek-dialog
+  (let ((commit "8a3d98e8211d6ee4351f31eb597043631002144b")
+        (revision "30"))
+    (package
+      (name "go-github-com-sqweek-dialog")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/sqweek/dialog")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1sdb4nddjyx1dkddk7cga71ymv1fd69pzdf4nywvfb33nfqqbvl1"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/sqweek/dialog"))
+      (native-inputs
+       `(("gtk+:bin" ,gtk+ "bin")
+         ("pkg-config" ,pkg-config)))
+      (inputs
+       `(("gtk+" ,gtk+)))
+      (home-page "https://github.com/sqweek/dialog")
+      (synopsis "Dialog API for Go")
+      (description "Dialog is a simple cross-platform dialog API for go-lang.")
+      (license license:isc))))
+
 (define-public go-github-com-skratchdot-open-golang
   (let ((commit "eef8423979666925a58eb77f9db583e54320d5a4")
         (revision "28"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 46/47] gnu: Add go-0xacab-org-leap-go-dialog.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (13 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 45/47] gnu: Add go-github-com-sqweek-dialog Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 47/47] gnu: Add bitmask-vpn Raghav Gururajan via Guix-patches via
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-0xacab-org-leap-go-dialog): New variable.
---
 gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f92e14ad28..96bf6e6551 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,38 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-0xacab-org-leap-go-dialog
+  (let ((commit "0ee8438431a0dca8f25ea788d74bfe7e88078b7a")
+        (revision "25"))
+    (package
+      (name "go-0xacab-org-leap-go-dialog")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://0xacab.org/leap/go-dialog")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dn2dxpg6162f7vyr66vnwhy31wnjj7f14bqdcs7q0wk890kfh21"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "0xacab.org/leap/go-dialog"))
+      (native-inputs
+       `(("gtk+:bin" ,gtk+ "bin")
+         ("pkg-config" ,pkg-config)))
+      (inputs
+       `(("gtk+" ,gtk+)))
+      (propagated-inputs
+       `(("go-github-com-gotk3-gotk3"
+          ,go-github-com-gotk3-gotk3)))
+      (home-page "https://0xacab.org/leap/go-dialog")
+      (synopsis "Dialog API for Go")
+      (description "Dialog is a simple cross-platform dialog API for go-lang.")
+      (license license:isc))))
+
 (define-public go-github-com-sqweek-dialog
   (let ((commit "8a3d98e8211d6ee4351f31eb597043631002144b")
         (revision "30"))
-- 
2.31.1





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

* [bug#48729] [PATCH v3 47/47] gnu: Add bitmask-vpn.
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
                     ` (14 preceding siblings ...)
  2021-06-09 17:00   ` [bug#48729] [PATCH v3 46/47] gnu: Add go-0xacab-org-leap-go-dialog Raghav Gururajan via Guix-patches via
@ 2021-06-09 17:00   ` Raghav Gururajan via Guix-patches via
  15 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-09 17:00 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, Jorge Gomez

* gnu/packages/vpn.scm (bitmask-vpn): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/vpn.scm | 220 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 220 insertions(+)

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index a952e3f0db..3bc990c613 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -15,6 +15,8 @@
 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
 ;;; Copyright © 2020 Ivan Kozlov <kanichos@yandex.ru>
 ;;; Copyright © 2020 David Dashyan <mail@davie.li>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
+;;; Copyright © 2021 Jorge Gomez <jgart@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -38,6 +40,7 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system linux-module)
   #:use-module (guix build-system python)
   #:use-module (guix utils)
@@ -52,6 +55,8 @@
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
@@ -69,6 +74,221 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xml))
 
+(define-public bitmask
+  (package
+    (name "bitmask")
+    (version "0.20.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://0xacab.org/leap/bitmask-vpn")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04sh69m5fq3gml4xgzv92z8i3hay98n9llq9p7p6q9q81s8q8849"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:imported-modules
+       ((guix build copy-build-system)
+        ,@%go-build-system-modules)
+       #:modules
+       (((guix build copy-build-system)
+         #:prefix copy:)
+        (guix build go-build-system)
+        (guix build utils))
+       #:unpack-path "0xacab.org/leap/bitmask-vpn"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'setup-go-environment 'insert-missing-sources
+           ;; For some reason these packages are left out.
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let* ((go-dialog (assoc-ref inputs "go-0xacab-org-leap-go-dialog"))
+                    (go-dialog-src (string-append go-dialog "/src"))
+                    (shapeshifter (assoc-ref inputs "go-0xacab-org-leap-shapeshifter"))
+                    (shapeshifter-src (string-append shapeshifter "/src")))
+               (copy-recursively go-dialog-src "src")
+               (copy-recursively shapeshifter-src "src"))
+             #t))
+         (add-after 'unpack 'patch-source
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             ;; To use 'emersion/go-autostart',
+             ;; instead of 'ProtonMail/go-autostart',
+             ;; as the latter no longer exists.
+             (substitute* (find-files "." "\\.go$")
+               (("github.com/ProtonMail/go-autostart")
+                "github.com/emersion/go-autostart"))
+             ;; To use absolute paths for referenced programs.
+             (let* ((ip (string-append (assoc-ref inputs "iproute")
+                                       "/sbin/ip"))
+                    (iptables (string-append (assoc-ref inputs "iptables")
+                                             "/sbin/iptables"))
+                    (ip6tables (string-append (assoc-ref inputs "iptables")
+                                              "/sbin/ip6tables"))
+                    (sysctl (string-append (assoc-ref inputs "procps")
+                                           "/sbin/sysctl"))
+                    (openvpn (string-append (assoc-ref inputs "openvpn")
+                                            "/sbin/openvpn"))
+                    (bitmask-root (string-append (assoc-ref outputs "out")
+                                                 "/sbin/bitmask-root")))
+               (substitute* (find-files "." "(\\.go$|\\.policy$|bitmask-root)")
+                 (("swhich\\(\"ip\"\\)")
+                  (string-append "\"" ip "\""))
+                 (("swhich\\(\"iptables\"\\)")
+                  (string-append "\"" iptables "\""))
+                 (("swhich\\(\"ip6tables\"\\)")
+                  (string-append "\"" ip6tables "\""))
+                 (("swhich\\(\"sysctl\"\\)")
+                  (string-append "\"" sysctl "\""))
+                 (("/usr/sbin/openvpn")
+                  openvpn)
+                 (("/usr/sbin/bitmask-root")
+                  bitmask-root)
+                 (("/usr/local/sbin/bitmask-root")
+                  bitmask-root)))
+             #t))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-connect"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn"
+               "0xacab.org/leap/bitmask-vpn/icon"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmask"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmaskd"
+               "0xacab.org/leap/bitmask-vpn/pkg/config"
+               "0xacab.org/leap/bitmask-vpn/pkg/helper"
+               "0xacab.org/leap/bitmask-vpn/pkg/standalone"
+               "0xacab.org/leap/bitmask-vpn/pkg/systray"
+               "0xacab.org/leap/bitmask-vpn/tools/transifex"))
+             #t))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-connect"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn"
+               "0xacab.org/leap/bitmask-vpn/icon"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmask"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmaskd"
+               "0xacab.org/leap/bitmask-vpn/pkg/config"
+               "0xacab.org/leap/bitmask-vpn/pkg/helper"
+               "0xacab.org/leap/bitmask-vpn/pkg/standalone"
+               "0xacab.org/leap/bitmask-vpn/pkg/systray"
+               "0xacab.org/leap/bitmask-vpn/tools/transifex"))
+             #t))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-connect"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper"
+               "0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn"
+               "0xacab.org/leap/bitmask-vpn/icon"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmask"
+               "0xacab.org/leap/bitmask-vpn/pkg/bitmaskd"
+               "0xacab.org/leap/bitmask-vpn/pkg/config"
+               "0xacab.org/leap/bitmask-vpn/pkg/helper"
+               "0xacab.org/leap/bitmask-vpn/pkg/standalone"
+               "0xacab.org/leap/bitmask-vpn/pkg/systray"
+               "0xacab.org/leap/bitmask-vpn/tools/transifex"))
+             #t))
+         (add-after 'install 'install-continued
+           ;; To install bitmask-root script and polkit policy.
+           (lambda args
+             (apply (assoc-ref copy:%standard-phases 'install)
+                    #:install-plan
+                    '(("src/0xacab.org/leap/bitmask-vpn/helpers"
+                       "sbin"
+                       #:include ("bitmask-root"))
+                      ("src/0xacab.org/leap/bitmask-vpn/helpers"
+                       "share/polkit-1/actions"
+                       #:include ("se.leap.bitmask.policy")))
+                    args)))
+         (add-after 'install-continued 'post-install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bitmask-root (string-append out "/sbin/bitmask-root")))
+               ;; To make bitmask-root script executable.
+               (chmod bitmask-root #o555)
+               ;; To wrap bitmask-root script with $PYTHONPATH.
+               (wrap-program bitmask-root
+                 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))))
+             #t)))))
+    (native-inputs
+     `(("gtk+:bin" ,gtk+ "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("iproute" ,iproute)
+       ("iptables" ,iptables)
+       ("libappindicator" ,libappindicator)
+       ("openvpn" ,openvpn)
+       ("procps" ,procps)
+       ("python" ,python)))
+    (propagated-inputs
+     `(("go-0xacab-org-leap-go-dialog"
+        ,go-0xacab-org-leap-go-dialog)
+       ("go-0xacab-org-leap-shapeshifter"
+        ,go-0xacab-org-leap-shapeshifter)
+       ("go-github-com-apparentlymart-go-openvpn-mgmt"
+        ,go-github-com-apparentlymart-go-openvpn-mgmt)
+       ("go-github-com-emersion-go-autostart"
+        ,go-github-com-emersion-go-autostart)
+       ("go-github-com-getlantern-systray"
+        ,go-github-com-getlantern-systray)
+       ("go-github-com-jmshal-go-locale"
+        ,go-github-com-jmshal-go-locale)
+       ("go-github-com-keybase-go-ps"
+        ,go-github-com-keybase-go-ps)
+       ("go-github-com-sevlyar-go-daemon"
+        ,go-github-com-sevlyar-go-daemon)
+       ("go-github-com-skratchdot-open-golang"
+        ,go-github-com-skratchdot-open-golang)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+       ("go-golang-org-x-text" ,go-golang-org-x-text)
+       ("go-golang-org-x-tools" ,go-golang-org-x-tools)))
+    (synopsis "Bitmask VPN Client")
+    (description "Bitmask, by @acronym{LEAP, LEAP Encryption Access Project},
+is an application to provide easy and secure encrypted communication with a
+@acronym{VPN, Virtual Private Network}.  It allows you to select from a variety
+of trusted service provider all from one app.  Current providers include Riseup
+Networks and The Calyx Institute.")
+    (home-page "https://bitmask.net/")
+    (license license:gpl3+)))
+
 (define-public gvpe
   (package
     (name "gvpe")
-- 
2.31.1





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

* [bug#48729] [PATCH v2 47/47] gnu: Add bitmask-vpn.
  2021-06-03 21:47     ` Maxime Devos
@ 2021-06-11  4:12       ` Raghav Gururajan via Guix-patches via
  0 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-11  4:12 UTC (permalink / raw)
  To: Maxime Devos, 48729; +Cc: jgart


[-- Attachment #1.1.1: Type: text/plain, Size: 718 bytes --]

Hi Maxime!

> This can be done a bit simpler, and less prone to breakage
> if/when a new keyword argument is introduced at some poit
> in the future (untested):

Good point.

> (replace 'build
>    (lambda arguments
>      (lambda (directory)
>        (apply (assoc-ref %standard-phases 'build)
>               `(,@arguments #:directory ,directory)))))
> 
> WDYT? Likewise in other places.

I tried to use this snippet, but how do I insert `for-each` here?

> Also, trailing #t in phases aren't required anymore
> (but harmless), though you probably know that already.
> (The warning should disappear when core-updates is merged.)

Yes, I'll remove them in the final patch-set.

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

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

* [bug#48729] [PATCH v2 05/47] gnu: Add go-github-com-keybase-go-ps.
  2021-06-05 14:42     ` Maxime Devos
@ 2021-06-11  4:17       ` Raghav Gururajan via Guix-patches via
  2021-06-12 16:21         ` Maxime Devos
  0 siblings, 1 reply; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-11  4:17 UTC (permalink / raw)
  To: Maxime Devos, 48729; +Cc: jgart


[-- Attachment #1.1.1: Type: text/plain, Size: 762 bytes --]

Hi Maxime!

> When cross-compiling, coreutils is not in 'inputs', but in 'native-inputs', right?
> So this would lead to a build error when cross-compiling.
> (assoc-ref inputs "coreutils") would return #f, thus you'd get an exception
> 
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> In procedure string-append: Wrong type (expecting string): #f

I am confused. It is used only during check phase (which is build-time), 
so when cross-compiling, the arch for build machine is used for 
native-inputs right?

I wonder how other native-inputs like gettext etc doesn't give this error.

> I would make this (untested):
> 
>    (sring-append (assoc-ref (or native-inputs inputs) "coreutils") "/bin/sleep")

Thanks!

Regards,
RG.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

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

* [bug#48729] [PATCH v2 05/47] gnu: Add go-github-com-keybase-go-ps.
  2021-06-11  4:17       ` Raghav Gururajan via Guix-patches via
@ 2021-06-12 16:21         ` Maxime Devos
  0 siblings, 0 replies; 151+ messages in thread
From: Maxime Devos @ 2021-06-12 16:21 UTC (permalink / raw)
  To: Raghav Gururajan, 48729; +Cc: jgart

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

Raghav Gururajan schreef op vr 11-06-2021 om 00:17 [-0400]:
> Hi Maxime!
> 
> > When cross-compiling, coreutils is not in 'inputs', but in 'native-inputs', right?
> > So this would lead to a build error when cross-compiling.
> > (assoc-ref inputs "coreutils") would return #f, thus you'd get an exception
> > 
> > ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> > In procedure string-append: Wrong type (expecting string): #f
> 
> I am confused. It is used only during check phase (which is build-time), 
> so when cross-compiling, the arch for build machine is used for 
> native-inputs right?

The Go build system doesn't support cross-compilation currently.
So, for explanation, let's assume gnu-build-system instead.

The issue is that, when cross-compiling, 'inputs' consists solely
of the packages listed in the 'inputs' field of the package definition
(When compiling natively, 'native-inputs' is merged into 'inputs'.)

As "coreutils" is not in "inputs", it follows that that (assoc-ref inputs "coreutils")
returns #f. Thus, when (string-append (assoc-ref inputs "coreutils") "/bin/sleep")
is executed, it raises an exception, as string-append expects strings only.
Now, about:

> I am confused. It is used only during check phase (which is build-time), 
> so when cross-compiling, [...]

The [...]/bin/sleep binary is only used during the check phase (and therefore
ignored when cross-compiling), yes, but the (string-append [...]) is _always_
executed!

> so when cross-compiling, the arch for build machine is used for native-inputs,
> right?

Yes.

> I wonder how other native-inputs like gettext etc doesn't give this error.

There's very little code doing (assoc-ref inputs "gettext"),
(assoc-ref native-inputs "gettext") or (assoc-ref native-inputs "gettext")
in Guix. The only case I found:

   # cargo-build-system
  (when (assoc-ref inputs "gettext")
    (setenv "GETTEXT_SYSTEM" (assoc-ref inputs "gettext")))

So, I'm not sure what you're referring to.

Simply including gettext in native-inputs doesn't cause an error.

It it trying to (string-append (assoc-ref inputs "gettext") "stuff") that
raises an error when 'gettext' is not in 'inputs' or 'native-inputs' when compiling natively,
or when 'gettext' is not in 'inputs' when cross-compiling,
as in these cases, (assoc-ref inputs "gettext") returns #f.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (16 preceding siblings ...)
  2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08 ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 02/24] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
                     ` (10 more replies)
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
  18 siblings, 11 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, Jorge Gomez

* gnu/packages/golang.scm (go-github-com-rakyll-statik): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8c3c81ceda..fcfb1fc715 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -25,6 +25,8 @@
 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
 ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
+;;; Copyright © 2021 Jorge Gomez <jgart@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -67,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-rakyll-statik
+  (package
+    (name "go-github-com-rakyll-statik")
+    (version "0.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/rakyll/statik")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/rakyll/statik"))
+    (home-page "https://github.com/rakyll/statik/")
+    (synopsis "Embed files into a Go executable")
+    (description "Statik allows you to embed a directory of static files into
+your Go binary to be later served from an http.")
+    (license license:asl2.0)))
+
 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
 ;; implementation, and gccgo-5 a complete implementation of go-1.4.  Ultimately
-- 
2.31.1





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

* [bug#48729] [PATCH v4 02/24] gnu: Add go-github-com-dchest-siphash.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 03/24] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
                     ` (9 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, Jorge Gomez

* gnu/packages/golang.scm (go-github-com-dchest-siphash): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fcfb1fc715..4ebef21140 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-dchest-siphash
+  (package
+    (name "go-github-com-dchest-siphash")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/dchest/siphash")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "08s076y7vmjqnq7jz0762hkm896r6r31v8b31a3gy0n8rfa01k8k"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/dchest/siphash"))
+    (home-page "https://github.com/dchest/siphash")
+    (synopsis "Go library for pseudorandom functions")
+    (description "SipHash is a family of pseudorandom functions (PRFs) optimized
+for speed on short messages.")
+    (license license:cc0)))
+
 (define-public go-github-com-rakyll-statik
   (package
     (name "go-github-com-rakyll-statik")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 03/24] gnu: Add go-github-com-emersion-go-autostart.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 02/24] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 04/24] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
                     ` (8 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-emersion-go-autostart): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4ebef21140..b4599850b0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-emersion-go-autostart
+  (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
+        (revision "39"))
+    (package
+      (name "go-github-com-emersion-go-autostart")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/emersion/go-autostart")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0cqqvbzn32xv5lknfygrx01rx2sc6pi833k7008nlk9lsfgry06v"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/emersion/go-autostart"))
+      (home-page "https://github.com/emersion/go-autostart")
+      (synopsis "Autostart library in Go")
+      (description "Go-Autostart is a Go library to run a command after login.")
+      (license license:expat))))
+
 (define-public go-github-com-dchest-siphash
   (package
     (name "go-github-com-dchest-siphash")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 04/24] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 02/24] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 03/24] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 05/24] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-apparentlymart-go-openvpn-mgmt): New variable.
---
 gnu/packages/golang.scm | 79 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b4599850b0..3cc3ff520e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,85 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-apparentlymart-go-openvpn-mgmt
+  (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
+        (revision "14"))
+    (package
+      (name "go-github-com-apparentlymart-go-openvpn-mgmt")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/apparentlymart/go-openvpn-mgmt")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dn431jnswg5ns1ah10wswnw6wiv48zq21zr5xp1178l4waswj7k"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/apparentlymart/go-openvpn-mgmt"
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'build
+             (lambda* (#:key source system outputs search-paths build-flags
+                       unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'build)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:build-flags build-flags
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))))
+           (replace 'check
+             (lambda* (#:key source system outputs search-paths tests?
+                       unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'check)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:tests? tests?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))))
+           (replace 'install
+             (lambda* (#:key source system outputs search-paths install-source?
+                       unpack-path inputs #:allow-other-keys)
+               (for-each
+                (lambda (directory)
+                  ((assoc-ref %standard-phases 'install)
+                   #:source source
+                   #:system system
+                   #:outputs outputs
+                   #:search-paths search-paths
+                   #:install-source? install-source?
+                   #:unpack-path unpack-path
+                   #:inputs inputs
+                   #:import-path directory))
+                (list
+                 "github.com/apparentlymart/go-openvpn-mgmt/demux"
+                 "github.com/apparentlymart/go-openvpn-mgmt/openvpn")))))))
+      (home-page "https://github.com/apparentlymart/go-openvpn-mgmt")
+      (synopsis "Go client library for OpenVPN's management protocol")
+      (description "Go-OpenVPN-Mgmt implements a client for the OpenVPN
+management interface.  It can be used to monitor and control an OpenVPN process
+running with its management port enabled.")
+      (license license:expat))))
+
 (define-public go-github-com-emersion-go-autostart
   (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
         (revision "39"))
-- 
2.31.1





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

* [bug#48729] [PATCH v4 05/24] gnu: Add go-github-com-keybase-go-ps.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 04/24] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 06/24] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-keybase-go-ps): New variable.
---
 gnu/packages/golang.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3cc3ff520e..c319fd5faf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,43 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-keybase-go-ps
+  (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
+        (revision "45"))
+    (package
+      (name "go-github-com-keybase-go-ps")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/keybase/go-ps")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1la7m9pd1rrij727g34k9d2iapqwrkwdkqwpkbsbcq8ig0fg634h"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/keybase/go-ps"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'fix-tests
+             (lambda* (#:key inputs #:allow-other-keys)
+               (substitute* (find-files "." ".*test\\.go")
+                 (("/bin/sleep")
+                  (string-append (assoc-ref inputs "coreutils")
+                                 "/bin/sleep"))))))))
+      (native-inputs
+       `(("coreutils" ,coreutils)
+         ("go-github-com-stretchr-testify"
+          ,go-github-com-stretchr-testify)))
+      (home-page "https://github.com/keybase/go-ps")
+      (synopsis "Process List Library for Go")
+      (description "Go-Ps is a library for Go that implements OS-specific APIs
+to list and manipulate processes in a platform-safe way.")
+      (license license:expat))))
+
 (define-public go-github-com-apparentlymart-go-openvpn-mgmt
   (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
         (revision "14"))
-- 
2.31.1





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

* [bug#48729] [PATCH v4 06/24] gnu: Add go-github-com-sevlyar-go-daemon.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 05/24] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 07/24] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-sevlyar-go-daemon): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c319fd5faf..28667ec988 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-sevlyar-go-daemon
+  (package
+    (name "go-github-com-sevlyar-go-daemon")
+    (version "0.1.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/sevlyar/go-daemon")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1y3gnxaifykcjcbzx91lz9bc93b95w3xj4rjxjbii26pm3j7gqyk"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/sevlyar/go-daemon"))
+    (propagated-inputs
+     `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/sevlyar/go-daemon")
+    (synopsis "Library for writing system daemons")
+    (description "Go-Daemon is a library for writing system daemons in golang.")
+    (license license:expat)))
+
 (define-public go-github-com-keybase-go-ps
   (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
         (revision "45"))
-- 
2.31.1





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

* [bug#48729] [PATCH v4 07/24] gnu: Add go-torproject-org-pluggable-transports-goptlib.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 06/24] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 08/24] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-torproject-org-pluggable-transports-goptlib): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 28667ec988..a2e74dced4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,29 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-torproject-org-pluggable-transports-goptlib
+  (package
+    (name "go-torproject-org-pluggable-transports-goptlib")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://git.torproject.org/pluggable-transports/goptlib")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "git.torproject.org/pluggable-transports/goptlib"))
+    (home-page "https://gitweb.torproject.org/pluggable-transports/goptlib")
+    (synopsis "Go pluggable transports library")
+    (description "GoPtLib is a library for writing Tor pluggable transports in
+Go.")
+    (license license:cc0)))
+
 (define-public go-github-com-sevlyar-go-daemon
   (package
     (name "go-github-com-sevlyar-go-daemon")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 08/24] gnu: Add go-github-com-willscott-goturn.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 07/24] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 09/24] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-willscott-goturn): New variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a2e74dced4..d091c8002a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,32 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-willscott-goturn
+  (let ((commit "19f41278d0c9251d64e0ee29f37d51e87a24a97b")
+        (revision "68"))
+    (package
+      (name "go-github-com-willscott-goturn")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/willscott/goturn")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0zwvhfznr84ayzknn9flh65nvqjsixisgy9fkhz2jlahl1ldqcq7"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/willscott/goturn"))
+      (home-page "https://github.com/willscott/goturn")
+      (synopsis "Golang TURN dialer")
+      (description "GoTURN is a library providing a Go interface compatible with
+the golang proxy package which connects through a TURN relay.  It provides
+parsing and encoding support for STUN and TURN protocols.")
+      (license license:bsd-3))))
+
 (define-public go-torproject-org-pluggable-transports-goptlib
   (package
     (name "go-torproject-org-pluggable-transports-goptlib")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 09/24] gnu: Add go-github-com-operatorfoundation-obfs4.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 08/24] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 10/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-operatorfoundation-obfs4): New variable.
---
 gnu/packages/golang.scm | 152 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 152 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d091c8002a..a86ae5bb75 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,158 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-obfs4
+  (package
+    (name "go-github-com-operatorfoundation-obfs4")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/obfs4")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0s730xagdxs66wfh65hb5v9a5h01q5ncic3pyij0a043scagizgr"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/OperatorFoundation/obfs4"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda _
+             (substitute* (find-files "." "\\.go$")
+               ;; To drop '.git' suffix in import path of goptlib.
+               (("goptlib\\.git") "goptlib"))))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags
+                     unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               "github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               "github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path
+                     inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               ;; ERROR: Println arg dialFn is a func value, not called.
+               ;;"github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn.
+               ;;"github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn
+               ;;"github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               ;; ERROR: Println call has possible formatting directive %s.
+               ;;"github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports"))))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source?
+                     unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/obfs4/common/csrand"
+               "github.com/OperatorFoundation/obfs4/common/drbg"
+               "github.com/OperatorFoundation/obfs4/common/log"
+               "github.com/OperatorFoundation/obfs4/common/ntor"
+               "github.com/OperatorFoundation/obfs4/common/probdist"
+               "github.com/OperatorFoundation/obfs4/common/pt_extras"
+               "github.com/OperatorFoundation/obfs4/common/replayfilter"
+               "github.com/OperatorFoundation/obfs4/common/socks5"
+               "github.com/OperatorFoundation/obfs4/common/termmon"
+               "github.com/OperatorFoundation/obfs4/common/uniformdh"
+               "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
+               "github.com/OperatorFoundation/obfs4/modes/stun_udp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
+               "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
+               "github.com/OperatorFoundation/obfs4/obfs4proxy"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
+               "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
+               "github.com/OperatorFoundation/obfs4/transports")))))))
+    (propagated-inputs
+     `(("go-github-com-dchest-siphash"
+        ,go-github-com-dchest-siphash)
+       ("go-github-com-operatorfoundation-ed25519"
+        ,go-github-com-operatorfoundation-ed25519)
+       ("go-github-com-willscott-goturn"
+        ,go-github-com-willscott-goturn)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-torproject-org-pluggable-transports-goptlib"
+        ,go-torproject-org-pluggable-transports-goptlib)))
+    (home-page "https://github.com/OperatorFoundation/obfs4")
+    (synopsis "Network Obfourscator")
+    (description "Obfs4 is a look-like nothing obfuscation protocol that
+incorporates ideas and concepts from Philipp Winter's ScrambleSuit protocol.
+The notable differences between ScrambleSuit and obfs4 are:
+@itemize
+@item The handshake always does a full key exchange (no such thing as a Session
+Ticket Handshake).
+@item The handshake uses the Tor Project's ntor handshake with public keys
+obfuscated via the Elligator 2 mapping.
+@item The link layer encryption uses NaCl secret boxes (Poly1305/XSalsa20).
+@end itemize")
+    (license license:bsd-2)))
+
 (define-public go-github-com-willscott-goturn
   (let ((commit "19f41278d0c9251d64e0ee29f37d51e87a24a97b")
         (revision "68"))
-- 
2.31.1





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

* [bug#48729] [PATCH v4 10/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 09/24] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 11/24] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 12/24] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-ipc): New variable.
---
 gnu/packages/golang.scm | 77 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a86ae5bb75..67cc7e495c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,83 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-shapeshifter-ipc
+  (package
+    (name "go-github-com-operatorfoundation-shapeshifter-ipc")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/shapeshifter-ipc")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1q1fcnllg462nfca16s5mr0n2jh92x3hj946qnaqc682phjz04lg"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f                      ; ERROR: undefined: Args.
+       #:unpack-path "github.com/OperatorFoundation/shapeshifter-ipc"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags
+                     unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path
+                     inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source?
+                     unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
+               "github.com/OperatorFoundation/shapeshifter-ipc/v3")))))))
+    (home-page "https://github.com/OperatorFoundation/shapeshifter-ipc")
+    (synopsis "Go implementation of IPC protocol")
+    (description "Shapeshifter-IPC is a library for Go implementing the IPC
+protocol from the Pluggable Transports 2.0 specification.")
+    (license license:expat)))
+
 (define-public go-github-com-operatorfoundation-obfs4
   (package
     (name "go-github-com-operatorfoundation-obfs4")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 11/24] gnu: Add go-github-com-op-go-logging.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (8 preceding siblings ...)
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 10/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 12/24] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-op-go-logging): New variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 67cc7e495c..f34272ac0a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,32 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-op-go-logging
+  (package
+    (name "go-github-com-op-go-logging")
+    (version "1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/op/go-logging")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01a6lkpj5p82gplddh55az194s9y3014p4j8x4zc8yv886z9c8gn"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f ; ERROR: incorrect callpath: String.rec...a.b.c.Info.
+       #:import-path "github.com/op/go-logging"))
+    (home-page "https://github.com/op/go-logging")
+    (synopsis "Golang logging library")
+    (description "Go-Logging implements a logging infrastructure for Go.  Its
+output format is customizable and supports different logging backends like
+syslog, file and memory.  Multiple backends can be utilized with different log
+levels per backend and logger.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-operatorfoundation-shapeshifter-ipc
   (package
     (name "go-github-com-operatorfoundation-shapeshifter-ipc")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 12/24] gnu: Add go-github-com-blanu-dust.
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
                     ` (9 preceding siblings ...)
  2021-06-15  5:08   ` [bug#48729] [PATCH v4 11/24] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:08   ` Raghav Gururajan via Guix-patches via
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:08 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-blanu-dust): New variable.
---
 gnu/packages/golang.scm | 123 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 123 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f34272ac0a..491f60ce4a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,129 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-blanu-dust
+  (package
+    (name "go-github-com-blanu-dust")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/blanu/Dust")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lya21w06ramq37af5hdiafbrv5k1csjm7k7m00v0bfxg3ni01bs"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/blanu/Dust"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags
+                     unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               "github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path
+                     inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               ;; Repository is missing test files directory.
+               ;;"github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping"))))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source?
+                     unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/blanu/Dust/go/buf"
+               "github.com/blanu/Dust/go/dist"
+               "github.com/blanu/Dust/go/huffman"
+               "github.com/blanu/Dust/go/model1"
+               "github.com/blanu/Dust/go/prim1"
+               "github.com/blanu/Dust/go/proc"
+               "github.com/blanu/Dust/go/sillyHex"
+               "github.com/blanu/Dust/go/skein"
+               "github.com/blanu/Dust/go/v2/Dust2_proxy"
+               "github.com/blanu/Dust/go/v2/Dust2_tool"
+               "github.com/blanu/Dust/go/v2/crypting"
+               "github.com/blanu/Dust/go/v2/interface"
+               "github.com/blanu/Dust/go/v2/shaping")))))))
+    (propagated-inputs
+     `(("go-github-com-operatorfoundation-ed25519"
+        ,go-github-com-operatorfoundation-ed25519)
+       ("go-github-com-op-go-logging"
+        ,go-github-com-op-go-logging)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
+    (home-page "https://github.com/blanu/Dust")
+    (synopsis "Censorship-Resistant Internet Transport Protocol")
+    (description "Dust is an Internet protocol designed to resist a number of
+attacks currently in active use to censor Internet communication.  While
+adherence to the theoretical maxims of cryptographic security are observed where
+possible, the focus of Dust is on real solutions to real attacks.")
+    (license
+     (list
+      ;; Skein.
+      license:bsd-2
+      ;; Others.
+      license:expat))))
+
 (define-public go-github-com-op-go-logging
   (package
     (name "go-github-com-op-go-logging")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set.
  2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
                   ` (17 preceding siblings ...)
  2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26 ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 14/24] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
                     ` (10 more replies)
  18 siblings, 11 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-deckarep-golang-set): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 491f60ce4a..e3cd022920 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,28 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-deckarep-golang-set
+  (package
+    (name "go-github-com-deckarep-golang-set")
+    (version "1.7.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/deckarep/golang-set")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y64c0p6a7ww5jp6adm6fm97vsni86njw8wkwxfmciy466vhl0lf"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/deckarep/golang-set"))
+    (home-page "https://github.com/deckarep/golang-set")
+    (synopsis "Set type for Go")
+    (description "Golang-Set is the set collection for the Go language.")
+    (license license:expat)))
+
 (define-public go-github-com-blanu-dust
   (package
     (name "go-github-com-blanu-dust")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 14/24] gnu: Add go-github-com-operatorfoundation-monolith-go.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 15/24] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
                     ` (9 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-operatorfoundation-monolith-go): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e3cd022920..995675db1c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,33 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-monolith-go
+  (package
+    (name "go-github-com-operatorfoundation-monolith-go")
+    (version "1.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/monolith-go")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "066bqlgw5h7a3kxswqlv734asb7nw2y6snsn09yqk0ixj23qw22s"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f ; ERROR: Generated bytes do not match correct answer.
+       #:unpack-path "github.com/OperatorFoundation/monolith-go"
+       #:import-path "github.com/OperatorFoundation/monolith-go/monolith"))
+    (propagated-inputs
+     `(("go-github-com-deckarep-golang-set"
+        ,go-github-com-deckarep-golang-set)))
+    (home-page "https://github.com/OperatorFoundation/monolith-go")
+    (synopsis "Byte sequences library")
+    (description "Monolith-Go is a Go library for working with byte sequences.")
+    (license license:expat)))
+
 (define-public go-github-com-deckarep-golang-set
   (package
     (name "go-github-com-deckarep-golang-set")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 15/24] gnu: Add go-github-com-opentracing-opentracing-go.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 14/24] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 16/24] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
                     ` (8 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 995675db1c..99ccc44e5f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,31 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-opentracing-opentracing-go
+  (package
+    (name "go-github-com-opentracing-opentracing-go")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/opentracing/opentracing-go")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04rgdwl29kimp2wnm4dycnzp7941hvpj6wym85x23c6fclacm94h"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/opentracing/opentracing-go"))
+    (native-inputs
+     `(("go-github-com-stretchr-testify"
+        ,go-github-com-stretchr-testify)))
+    (home-page "https://github.com/opentracing/opentracing-go")
+    (synopsis "OpenTracing API for Go")
+    (description "OpenTracing-Go is a Go implementation of OpenTracing API.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-operatorfoundation-monolith-go
   (package
     (name "go-github-com-operatorfoundation-monolith-go")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 16/24] gnu: Add go-github-com-mufti1-interconv.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 14/24] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 15/24] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 17/24] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
                     ` (7 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-mufti1-interconv): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 99ccc44e5f..4f99df04a2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,31 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-mufti1-interconv
+  (let ((commit "d7c72925c6568d60d361757bb9f2d252dcca745c")
+        (revision "28"))
+    (package
+      (name "go-github-com-mufti1-interconv")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/mufti1/interconv")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "13f5pvr74afa28pbpmgvjzjx68vv5zmrwlvxp7hr5bl5625zlxmy"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:unpack-path "github.com/mufti1/interconv"
+         #:import-path "github.com/mufti1/interconv/package"))
+      (home-page "https://github.com/mufti1/interconv")
+      (synopsis "Data Type Converter")
+      (description "InterConv is for convert interface into any data type.")
+      (license license:expat))))
+
 (define-public go-github-com-opentracing-opentracing-go
   (package
     (name "go-github-com-opentracing-opentracing-go")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 17/24] gnu: Add go-github-com-aead-chacha20.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 16/24] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 18/24] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
                     ` (6 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.org (go-github-com-aead-chacha20): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4f99df04a2..cfe6dea9fd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,34 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-aead-chacha20
+  (let ((commit "8b13a72661dae6e9e5dea04f344f0dc95ea29547")
+        (revision "114"))
+    (package
+      (name "go-github-com-aead-chacha20")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/aead/chacha20")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0gbmgq5kbqmbyrsav57ql4jzbvqvp1q7yvcd5fl3wf5g94iyv56r"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/aead/chacha20"))
+      (propagated-inputs
+       `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+      (home-page "https://github.com/aead/chacha20")
+      (synopsis "ChaCha20 and XChaCha20 stream ciphers")
+      (description "ChaCha is a stream cipher family created by Daniel Bernstein.
+The most common ChaCha variant is ChaCha20 (20 rounds).  ChaCha20 is
+standardized in RFC 7539.")
+      (license license:expat))))
+
 (define-public go-github-com-mufti1-interconv
   (let ((commit "d7c72925c6568d60d361757bb9f2d252dcca745c")
         (revision "28"))
-- 
2.31.1





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

* [bug#48729] [PATCH v4 18/24] gnu: Add go-github-com-riobard-go-bloom.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (3 preceding siblings ...)
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 17/24] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 19/24] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
                     ` (5 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-riobard-go-bloom): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cfe6dea9fd..ff3683884b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-riobard-go-bloom
+  (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9")
+        (revision "15"))
+    (package
+      (name "go-github-com-riobard-go-bloom")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/riobard/go-bloom")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10a8ixh6zw52df2imxrzgxi82zc1j5hqnv5smjp818qwdn1a1rhj"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/riobard/go-bloom"))
+      (home-page "https://github.com/riobard/go-bloom")
+      (synopsis "Bloom Filter in Go")
+      (description "Go-Bloom implements Boom Filter using double hashing.")
+      (license license:asl2.0))))
+
 (define-public go-github-com-aead-chacha20
   (let ((commit "8b13a72661dae6e9e5dea04f344f0dc95ea29547")
         (revision "114"))
-- 
2.31.1





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

* [bug#48729] [PATCH v4 19/24] gnu: Add go-github-com-shadowsocks-go-shadowsocks2.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (4 preceding siblings ...)
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 18/24] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 20/24] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
                     ` (4 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ff3683884b..3db4603ccd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,36 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-shadowsocks-go-shadowsocks2
+  (package
+    (name "go-github-com-shadowsocks-go-shadowsocks2")
+    ;; Version > 0.1.3 requires go-toolchain v1.16.
+    (version "0.1.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/shadowsocks/go-shadowsocks2")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wzy3ml4ld83iawcl6p313bskzs6zjhz8vlg8kpwgn71cnbv4pvi"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/shadowsocks/go-shadowsocks2"))
+    (propagated-inputs
+     `(("go-github-com-riobard-go-bloom"
+        ,go-github-com-riobard-go-bloom)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+       ("go-golang-org-x-text" ,go-golang-org-x-text)))
+    (home-page "https://github.com/shadowsocks/go-shadowsocks2")
+    (synopsis "Shadowsocks Suite")
+    (description "Go-ShadowSocks is an implementation of shadowsocks in Go.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-riobard-go-bloom
   (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9")
         (revision "15"))
-- 
2.31.1





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

* [bug#48729] [PATCH v4 20/24] gnu: Add go-github-com-kataras-pio.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (5 preceding siblings ...)
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 19/24] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 21/24] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
                     ` (3 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-kataras-pio): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3db4603ccd..58a88ad00a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,30 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-kataras-pio
+  (package
+    (name "go-github-com-kataras-pio")
+    (version "0.0.10")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/kataras/pio")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11d2jy9xz4airicgmjcy4nb80kwv22jp140wzn2l5412jdr4jmkp"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/kataras/pio"))
+    (home-page "https://github.com/kataras/pio")
+    (synopsis "Pill for Input/Output")
+    (description "PIO is a low-level package that provides a way to centralize
+different output targets.  Supports colors and text decoration to all popular
+terminals.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-shadowsocks-go-shadowsocks2
   (package
     (name "go-github-com-shadowsocks-go-shadowsocks2")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 21/24] gnu: Add go-github-com-kataras-golog.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (6 preceding siblings ...)
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 20/24] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 22/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
                     ` (2 subsequent siblings)
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-kataras-golog): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 58a88ad00a..c285f710af 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,31 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-kataras-golog
+  (package
+    (name "go-github-com-kataras-golog")
+    (version "0.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/kataras/golog")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1ll24g50j48wqikzf67cyaq0m0f57v1ap24nbz3cmv3yzqi6wdl9"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/kataras/golog"))
+    (propagated-inputs
+     `(("go-github-com-kataras-pio"
+        ,go-github-com-kataras-pio)))
+    (home-page "https://github.com/kataras/golog")
+    (synopsis "Logging foundation for Go applications")
+    (description "GoLog is a level-based logger written in Go.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-kataras-pio
   (package
     (name "go-github-com-kataras-pio")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 22/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (7 preceding siblings ...)
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 21/24] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 23/24] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 24/24] gnu: Add bitmask Raghav Gururajan via Guix-patches via
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-transports): New variable.
---
 gnu/packages/golang.scm | 158 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 158 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c285f710af..1cfb5aa16b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,164 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-operatorfoundation-shapeshifter-transports
+  (package
+    (name "go-github-com-operatorfoundation-shapeshifter-transports")
+    (version "3.0.12")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/OperatorFoundation/shapeshifter-transports")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0f1hzhk3q2fgqdg14zlg3z0s0ib1y9xwj89qnjk95b37zbgqjgsb"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "github.com/OperatorFoundation/shapeshifter-transports"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda _
+             (substitute* (find-files "." "\\.go$")
+               ;; To drop '.git' suffix in import path of goptlib.
+               (("goptlib\\.git") "goptlib"))))
+         (replace 'build
+           (lambda* (#:key source system outputs search-paths build-flags
+                     unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'build)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:build-flags build-flags
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"))))
+         (replace 'check
+           (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'check)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:tests? tests?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               ;;; ERROR: invalid memory address or nil pointer dereference.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               ;;; ERROR: failed with status 1.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               ;;; ERROR: bind: permission denied.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"))))
+               ;;; ERROR: failed with status 1.
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"))))
+         (replace 'install
+           (lambda* (#:key source system outputs search-paths install-source?
+                     unpack-path inputs #:allow-other-keys)
+             (for-each
+              (lambda (directory)
+                ((assoc-ref %standard-phases 'install)
+                 #:source source
+                 #:system system
+                 #:outputs outputs
+                 #:search-paths search-paths
+                 #:install-source? install-source?
+                 #:unpack-path unpack-path
+                 #:inputs inputs
+                 #:import-path directory))
+              (list
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2"
+               "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3")))))))
+    (native-inputs
+     `(("go-github-com-stretchr-testify"
+        ,go-github-com-stretchr-testify)))
+    (propagated-inputs
+     `(("go-github-com-aead-chacha20"
+        ,go-github-com-aead-chacha20)
+       ("go-github-com-blanu-dust"
+        ,go-github-com-blanu-dust)
+       ("go-github-com-deckarep-golang-set"
+        ,go-github-com-deckarep-golang-set)
+       ("go-github-com-kataras-golog"
+        ,go-github-com-kataras-golog)
+       ("go-github-com-mufti1-interconv"
+        ,go-github-com-mufti1-interconv)
+       ("go-github-com-opentracing-opentracing-go"
+        ,go-github-com-opentracing-opentracing-go)
+       ("go-github-com-operatorfoundation-monolith-go"
+        ,go-github-com-operatorfoundation-monolith-go)
+       ("go-github-com-operatorfoundation-obfs4"
+        ,go-github-com-operatorfoundation-obfs4)
+       ("go-github-com-operatorfoundation-shapeshifter-ipc"
+        ,go-github-com-operatorfoundation-shapeshifter-ipc)
+       ("go-github-com-shadowsocks-go-shadowsocks2"
+        ,go-github-com-shadowsocks-go-shadowsocks2)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-net" ,go-golang-org-x-net)
+       ("go-torproject-org-pluggable-transports-goptlib"
+        ,go-torproject-org-pluggable-transports-goptlib)))
+    (home-page "https://github.com/OperatorFoundation/shapeshifter-transports")
+    (synopsis "Go implementation of Pluggable Transports")
+    (description "Shapeshifter-Transports is a set of Pluggable Transports
+implementing the Go API from the Pluggable Transports 2.0 specification.
+Each transport implements a different method of shapeshifting network traffic.
+The goal is for application traffic to be sent over the network in a shapeshifted
+form that bypasses network filtering, allowing the application to work on
+networks where it would otherwise be blocked or heavily throttled.")
+    (license license:expat)))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 23/24] gnu: Add go-0xacab-org-leap-shapeshifter.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (8 preceding siblings ...)
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 22/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 24/24] gnu: Add bitmask Raghav Gururajan via Guix-patches via
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan

* gnu/packages/golang.scm (go-0xacab-org-leap-shapeshifter): New variable.
---
 gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1cfb5aa16b..0ab06eb935 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -69,6 +69,39 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-0xacab-org-leap-shapeshifter
+  (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
+        (revision "12"))
+    (package
+      (name "go-0xacab-org-leap-shapeshifter")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://0xacab.org/leap/shapeshifter")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0m4fla9ppl53k9syms4dsad92wakr74cdvids3xxv3amdh4d1w4i"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "0xacab.org/leap/shapeshifter"))
+      (propagated-inputs
+       `(("go-github-com-operatorfoundation-obfs4"
+          ,go-github-com-operatorfoundation-obfs4)
+         ("go-github-com-operatorfoundation-shapeshifter-transports"
+          ,go-github-com-operatorfoundation-shapeshifter-transports)
+         ("go-golang-org-x-net" ,go-golang-org-x-net)))
+      (home-page "https://0xacab.org/leap/shapeshifter")
+      (synopsis "Shapeshifter Dispatcher Library")
+      (description "Shapeshifter provides network protocol shapeshifting
+technology.  The purpose of this technology is to change the characteristics of
+network traffic so that it is not identified and subsequently blocked by network
+filtering devices.")
+      (license license:bsd-2))))
+
 (define-public go-github-com-operatorfoundation-shapeshifter-transports
   (package
     (name "go-github-com-operatorfoundation-shapeshifter-transports")
-- 
2.31.1





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

* [bug#48729] [PATCH v4 24/24] gnu: Add bitmask.
  2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
                     ` (9 preceding siblings ...)
  2021-06-15  5:26   ` [bug#48729] [PATCH v4 23/24] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
@ 2021-06-15  5:26   ` Raghav Gururajan via Guix-patches via
  10 siblings, 0 replies; 151+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-15  5:26 UTC (permalink / raw)
  To: 48729; +Cc: Raghav Gururajan, Jorge Gomez

* gnu/packages/vpn.scm (bitmask): New variable.

Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
 gnu/packages/vpn.scm | 199 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 199 insertions(+)

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index a952e3f0db..f001093e57 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -15,6 +15,8 @@
 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
 ;;; Copyright © 2020 Ivan Kozlov <kanichos@yandex.ru>
 ;;; Copyright © 2020 David Dashyan <mail@davie.li>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
+;;; Copyright © 2021 Jorge Gomez <jgart@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -37,7 +39,9 @@
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system linux-module)
   #:use-module (guix build-system python)
   #:use-module (guix utils)
@@ -51,7 +55,9 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
@@ -59,6 +65,7 @@
   #:use-module (gnu packages nss)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages polkit)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-crypto)
@@ -69,6 +76,198 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xml))
 
+(define-public bitmask
+  (package
+    (name "bitmask")
+    (version "0.21.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://0xacab.org/leap/bitmask-vpn")
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1b0cdgh4mqvalvknck1zjy7dhmjfyhbmn9knya6ymx8dqan308sr"))
+       (modules
+        '((guix build utils)))
+       (snippet
+        `(begin
+           ;; To remove bundled thirdparty sources.
+           (delete-file-recursively "branding/thirdparty")
+           ;; To generate version.go file.
+           (call-with-output-file "pkg/config/version/version.go"
+             (lambda (port)
+               (format port "package version\n")
+               (format port "\n")
+               (format port (string-append "var VERSION = \"" ,version "\""))))
+           #t))))
+    (build-system go-build-system)
+    (arguments
+     `(#:imported-modules
+       ((guix build copy-build-system)
+        ,@%go-build-system-modules)
+       #:modules
+       (((guix build copy-build-system)
+         #:prefix copy:)
+        (guix build go-build-system)
+        (guix build utils))
+       #:unpack-path "0xacab.org/leap/bitmask-vpn"
+       #:import-path "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'setup-go-environment 'insert-missing-sources
+           ;; For some reason this package is left out.
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let* ((shapeshifter
+                     (assoc-ref inputs "go-0xacab-org-leap-shapeshifter"))
+                    (shapeshifter-src (string-append shapeshifter "/src")))
+               (copy-recursively shapeshifter-src "src"))))
+         (add-after 'unpack 'patch
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (with-directory-excursion "src/0xacab.org/leap/bitmask-vpn"
+               ;; To use 'emersion/go-autostart',
+               ;; instead of 'ProtonMail/go-autostart',
+               ;; as the latter no longer exists.
+               (substitute* (find-files "." "\\.go$")
+                 (("github.com/ProtonMail/go-autostart")
+                  "github.com/emersion/go-autostart"))
+               ;; To use correct paths for referenced items.
+               (let* ((out (assoc-ref outputs "out"))
+                      (policy-dir (string-append out "/share/polkit-1/actions"))
+                      (policy-file "se.leap.bitmask.policy")
+                      (policy-path (string-append policy-dir "/" policy-file))
+                      (ip (string-append (assoc-ref inputs "iproute")
+                                         "/sbin/ip"))
+                      (iptables (string-append (assoc-ref inputs "iptables")
+                                               "/sbin/iptables"))
+                      (ip6tables (string-append (assoc-ref inputs "iptables")
+                                                "/sbin/ip6tables"))
+                      (sysctl (string-append (assoc-ref inputs "procps")
+                                             "/sbin/sysctl"))
+                      (pkttyagent (string-append (assoc-ref inputs "polkit")
+                                                 "/bin/pkttyagent"))
+                      (openvpn (string-append (assoc-ref inputs "openvpn")
+                                              "/sbin/openvpn"))
+                      (bitmask-root (string-append (assoc-ref outputs "out")
+                                                   "/sbin/bitmask-root")))
+                 (substitute* (find-files "." "(\\.go$|\\.policy$|bitmask-root)")
+                   (("swhich\\(\"ip\"\\)")
+                    (string-append "\"" ip "\""))
+                   (("swhich\\(\"iptables\"\\)")
+                    (string-append "\"" iptables "\""))
+                   (("swhich\\(\"ip6tables\"\\)")
+                    (string-append "\"" ip6tables "\""))
+                   (("swhich\\(\"sysctl\"\\)")
+                    (string-append "\"" sysctl "\""))
+                   (("/usr/.*(kit|agent|agent-1)") pkttyagent)
+                   (("fingerprint-polkit-agent") "pkttyagent")
+                   (("/usr/sbin/openvpn") openvpn)
+                   (("/usr/sbin/bitmask-root") bitmask-root)
+                   (("/usr/local/sbin/bitmask-root") bitmask-root)
+                   (("/usr/share.*policy") policy-path)))
+               (substitute* (find-files "." "\\.pro$")
+                 ;; To use correct path for goshim files,
+                 ;; which are generated in 'build-continued phase.
+                 (("-L.*/lib") "-L./lib")
+                 ;; FIXME: Unable to build i18n files.
+                 (("TRANSLATIONS.*i18n.*$") "")
+                 (("RESOURCES.*i18n.*$") "")))))
+         (add-after 'build 'build-continued
+           (lambda _
+             ;; To generate goshim library and header files.
+             (let* ((dir "src/0xacab.org/leap/bitmask-vpn")
+                    (source (string-append dir "/gui/backend.go"))
+                    (target (string-append dir "/lib/libgoshim.a")))
+               (mkdir-p (string-append dir "/lib"))
+               (invoke "go" "build" "-buildmode=c-archive" "-o" target source))
+             ;; To build bitmask application.
+             (with-directory-excursion "src/0xacab.org/leap/bitmask-vpn"
+               (delete-file "Makefile")
+               (invoke "qmake" "bitmask.pro")
+               (invoke "make" "release/bitmask"))))
+         (add-after 'check 'check-continued
+           (lambda _
+             ;; To run bitmask test.
+             (with-directory-excursion "src/0xacab.org/leap/bitmask-vpn"
+               (delete-file "Makefile")
+               (invoke "qmake" "test.pro")
+               ;; Tests require display-server.
+               (setenv "QT_QPA_PLATFORM" "offscreen")
+               ;; Tests look for $XDG_RUNTIME_DIR.
+               (setenv "XDG_RUNTIME_DIR" (getenv "TEMP"))
+               ;; Tests write to $HOME.
+               (setenv "HOME" (getenv "TEMP"))
+               (invoke "make" "check"))))
+         (add-after 'install 'install-continued
+           (lambda args
+             (apply (assoc-ref copy:%standard-phases 'install)
+                    #:install-plan
+                    ;; To install bitmask program.
+                    '(("src/0xacab.org/leap/bitmask-vpn/release"
+                       "bin"
+                       #:include ("bitmask"))
+                      ;; To install bitmask-root script.
+                      ("src/0xacab.org/leap/bitmask-vpn/helpers"
+                       "sbin"
+                       #:include ("bitmask-root"))
+                      ;; To install polkit policy.
+                      ("src/0xacab.org/leap/bitmask-vpn/helpers"
+                       "share/polkit-1/actions"
+                       #:include ("se.leap.bitmask.policy")))
+                    args)))
+         (add-after 'install-continued 'post-install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bitmask (string-append out "/bin/bitmask"))
+                    (bitmask-root (string-append out "/sbin/bitmask-root")))
+               ;; To make bitmask-root script executable.
+               (chmod bitmask-root #o755)
+               ;; To wrap bitmask program with qml and qt paths.
+               (wrap-program bitmask
+                 `("QML2_IMPORT_PATH" ":" prefix (,(getenv "QML2_IMPORT_PATH")))
+                 `("QT_PLUGIN_PATH" ":" prefix (,(getenv "QT_PLUGIN_PATH"))))
+               ;; To wrap bitmask-root script with python path.
+               (wrap-program bitmask-root
+                 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))))))))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("iproute" ,iproute)
+       ("iptables" ,iptables)
+       ("mesa" ,mesa)
+       ("openvpn" ,openvpn)
+       ("polkit" ,polkit)
+       ("procps" ,procps)
+       ("python" ,python)
+       ("qtbase" ,qtbase)
+       ("qtdeclarative" ,qtdeclarative)
+       ("qtquickcontrols" ,qtquickcontrols)
+       ("qtquickcontrols2" ,qtquickcontrols2)))
+    (propagated-inputs
+     `(("go-0xacab-org-leap-shapeshifter"
+        ,go-0xacab-org-leap-shapeshifter)
+       ("go-github-com-apparentlymart-go-openvpn-mgmt"
+        ,go-github-com-apparentlymart-go-openvpn-mgmt)
+       ("go-github-com-emersion-go-autostart"
+        ,go-github-com-emersion-go-autostart)
+       ("go-github-com-keybase-go-ps"
+        ,go-github-com-keybase-go-ps)
+       ("go-github-com-rakyll-statik"
+        ,go-github-com-rakyll-statik)
+       ("go-github-com-sevlyar-go-daemon"
+        ,go-github-com-sevlyar-go-daemon)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
+    (synopsis "White-label VPN client by LEAP")
+    (description "Bitmask, by @acronym{LEAP, LEAP Encryption Access Project},
+is an application to provide easy and secure encrypted communication with a
+@acronym{VPN, Virtual Private Network}.  It allows you to select from a variety
+of trusted service provider all from one app.  Current providers include Riseup
+Networks and The Calyx Institute.")
+    (home-page "https://bitmask.net/")
+    (license license:gpl3+)))
+
 (define-public gvpe
   (package
     (name "gvpe")
-- 
2.31.1





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

end of thread, other threads:[~2021-06-15  5:29 UTC | newest]

Thread overview: 151+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-29 10:57 [bug#48729] Bitmask VPN Raghav Gururajan via Guix-patches via
2021-05-29 11:14 ` [bug#48729] [PATCH v1 00/24]: " Raghav Gururajan via Guix-patches via
2021-05-29 11:15 ` [bug#48729] [PATCH v1 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 02/24] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 03/24] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 04/24] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 05/24] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 06/24] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 07/24] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 08/24] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 09/24] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 10/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 11/24] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 12/24] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 14/24] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 15/24] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 16/24] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 17/24] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 18/24] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 19/24] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
2021-05-29 11:15   ` [bug#48729] [PATCH v1 20/24] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
2021-05-29 11:18 ` [bug#48729] [PATCH v1 21/24] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
2021-05-29 11:21 ` [bug#48729] [PATCH v1 22/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
2021-05-29 11:21   ` [bug#48729] [PATCH v1 23/24] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
2021-05-29 11:23 ` [bug#48729] [PATCH v1 24/24] gnu: Add bitmask-vpn Raghav Gururajan via Guix-patches via
2021-06-03  9:56 ` [bug#48729] [PATCH v2 00/47]: Bitmask VPN Raghav Gururajan via Guix-patches via
2021-06-03  9:57 ` [bug#48729] [PATCH v2 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 02/47] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 03/47] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 04/47] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 05/47] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
2021-06-05 14:42     ` Maxime Devos
2021-06-11  4:17       ` Raghav Gururajan via Guix-patches via
2021-06-12 16:21         ` Maxime Devos
2021-06-03  9:57   ` [bug#48729] [PATCH v2 06/47] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 07/47] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 08/47] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 09/47] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 10/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 12/47] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 13/47] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 14/47] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 15/47] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 16/47] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 17/47] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 18/47] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
2021-06-03  9:57   ` [bug#48729] [PATCH v2 19/47] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
2021-06-03 10:02 ` [bug#48729] [PATCH v2 20/47] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
2021-06-03 10:02   ` [bug#48729] [PATCH v2 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
2021-06-03 10:02   ` [bug#48729] [PATCH v2 22/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
2021-06-03 10:02   ` [bug#48729] [PATCH v2 23/47] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
2021-06-03 10:44 ` [bug#48729] [PATCH v2 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 25/47] gnu: Add go-github-com-burntsushi-xgbutil Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 26/47] gnu: Add go-github-com-getlantern-context Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 27/47] gnu: Add go-github-com-getlantern-ops Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 28/47] gnu: Add go-github-com-getlantern-hex Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 29/47] gnu: Add go-github-com-getlantern-hidden Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 30/47] gnu: Add go-github-com-go-stack-stack Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 32/47] gnu: Add go-github-com-oxtoacart-bpool Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 33/47] gnu: Add go-github-com-getlantern-golog Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 34/47] gnu: Add go-github-com-getlantern-systray Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 35/47] gnu: Add go-github-com-gotk3-gotk3 Raghav Gururajan via Guix-patches via
2021-06-03 10:44   ` [bug#48729] [PATCH v2 36/47] gnu: Add go-github-com-jmshal-go-locale Raghav Gururajan via Guix-patches via
2021-06-03 11:11 ` [bug#48729] [PATCH v2 37/47] gnu: Add gtkglarea Raghav Gururajan via Guix-patches via
2021-06-03 11:46 ` [bug#48729] [PATCH v2 38/47] gnu: Add gtkspell2 Raghav Gururajan via Guix-patches via
2021-06-03 11:46   ` [bug#48729] [PATCH v2 39/47] gnu: Add go-github-com-mattn-go-gtk Raghav Gururajan via Guix-patches via
2021-06-03 20:51 ` [bug#48729] [PATCH v2 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
2021-06-03 20:51   ` [bug#48729] [PATCH v2 41/47] gnu: Add go-github-com-go-gl-glow Raghav Gururajan via Guix-patches via
2021-06-03 20:51   ` [bug#48729] [PATCH v2 42/47] gnu: Add go-github-com-go-gl-gl Raghav Gururajan via Guix-patches via
2021-06-03 20:51   ` [bug#48729] [PATCH v2 43/47] gnu: Add go-github-com-skelterjohn-go-wde Raghav Gururajan via Guix-patches via
2021-06-03 20:51   ` [bug#48729] [PATCH v2 44/47] gnu: Add go-github-com-skratchdot-open-golang Raghav Gururajan via Guix-patches via
2021-06-03 20:51   ` [bug#48729] [PATCH v2 45/47] gnu: Add go-github-com-sqweek-dialog Raghav Gururajan via Guix-patches via
2021-06-03 20:51   ` [bug#48729] [PATCH v2 46/47] gnu: Add go-0xacab-org-leap-go-dialog Raghav Gururajan via Guix-patches via
2021-06-03 20:51   ` [bug#48729] [PATCH v2 47/47] gnu: Add bitmask-vpn Raghav Gururajan via Guix-patches via
2021-06-03 21:47     ` Maxime Devos
2021-06-11  4:12       ` Raghav Gururajan via Guix-patches via
2021-06-08 23:00 ` [bug#48729] [PATCH v3 00/47]: Bitmask VPN Raghav Gururajan via Guix-patches via
2021-06-08 23:01 ` [bug#48729] [PATCH v3 01/47] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
2021-06-08 23:01   ` [bug#48729] [PATCH v3 02/47] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
2021-06-08 23:01   ` [bug#48729] [PATCH v3 03/47] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
2021-06-08 23:01   ` [bug#48729] [PATCH v3 04/47] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
2021-06-08 23:01   ` [bug#48729] [PATCH v3 05/47] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
2021-06-08 23:01   ` [bug#48729] [PATCH v3 06/47] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
2021-06-08 23:02   ` [bug#48729] [PATCH v3 07/47] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
2021-06-08 23:02   ` [bug#48729] [PATCH v3 08/47] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
2021-06-08 23:02   ` [bug#48729] [PATCH v3 09/47] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
2021-06-08 23:02   ` [bug#48729] [PATCH v3 10/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
2021-06-08 23:10 ` [bug#48729] [PATCH v3 11/47] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
2021-06-08 23:10   ` [bug#48729] [PATCH v3 12/47] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
2021-06-08 23:10   ` [bug#48729] [PATCH v3 13/47] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
2021-06-08 23:10   ` [bug#48729] [PATCH v3 14/47] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
2021-06-08 23:10   ` [bug#48729] [PATCH v3 15/47] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
2021-06-08 23:10   ` [bug#48729] [PATCH v3 16/47] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
2021-06-08 23:10   ` [bug#48729] [PATCH v3 17/47] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
2021-06-08 23:10   ` [bug#48729] [PATCH v3 18/47] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
2021-06-08 23:10   ` [bug#48729] [PATCH v3 19/47] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
2021-06-08 23:10   ` [bug#48729] [PATCH v3 20/47] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
2021-06-08 23:21 ` [bug#48729] [PATCH v3 21/47] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
2021-06-08 23:21   ` [bug#48729] [PATCH v3 22/47] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
2021-06-08 23:21   ` [bug#48729] [PATCH v3 23/47] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
2021-06-08 23:21   ` [bug#48729] [PATCH v3 24/47] gnu: Add go-github-com-jezek-xgb Raghav Gururajan via Guix-patches via
2021-06-08 23:21   ` [bug#48729] [PATCH v3 25/47] gnu: Add go-github-com-burntsushi-xgbutil Raghav Gururajan via Guix-patches via
2021-06-08 23:21   ` [bug#48729] [PATCH v3 26/47] gnu: Add go-github-com-getlantern-context Raghav Gururajan via Guix-patches via
2021-06-08 23:21   ` [bug#48729] [PATCH v3 27/47] gnu: Add go-github-com-getlantern-ops Raghav Gururajan via Guix-patches via
2021-06-08 23:21   ` [bug#48729] [PATCH v3 28/47] gnu: Add go-github-com-getlantern-hex Raghav Gururajan via Guix-patches via
2021-06-08 23:21   ` [bug#48729] [PATCH v3 29/47] gnu: Add go-github-com-getlantern-hidden Raghav Gururajan via Guix-patches via
2021-06-08 23:21   ` [bug#48729] [PATCH v3 30/47] gnu: Add go-github-com-go-stack-stack Raghav Gururajan via Guix-patches via
2021-06-09 17:00 ` [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 32/47] gnu: Add go-github-com-oxtoacart-bpool Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 33/47] gnu: Add go-github-com-getlantern-golog Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 34/47] gnu: Add go-github-com-getlantern-systray Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 35/47] gnu: Add go-github-com-gotk3-gotk3 Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 36/47] gnu: Add go-github-com-jmshal-go-locale Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 37/47] gnu: Add gtkglarea Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 38/47] gnu: Add gtkspell2 Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 39/47] gnu: Add go-github-com-mattn-go-gtk Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 40/47] gnu: Add go-github-com-grd-glfw3 Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 41/47] gnu: Add go-github-com-go-gl-glow Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 42/47] gnu: Add go-github-com-go-gl-gl Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 43/47] gnu: Add go-github-com-skelterjohn-go-wde Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 44/47] gnu: Add go-github-com-skratchdot-open-golang Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 45/47] gnu: Add go-github-com-sqweek-dialog Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 46/47] gnu: Add go-0xacab-org-leap-go-dialog Raghav Gururajan via Guix-patches via
2021-06-09 17:00   ` [bug#48729] [PATCH v3 47/47] gnu: Add bitmask-vpn Raghav Gururajan via Guix-patches via
2021-06-15  5:08 ` [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 02/24] gnu: Add go-github-com-dchest-siphash Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 03/24] gnu: Add go-github-com-emersion-go-autostart Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 04/24] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 05/24] gnu: Add go-github-com-keybase-go-ps Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 06/24] gnu: Add go-github-com-sevlyar-go-daemon Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 07/24] gnu: Add go-torproject-org-pluggable-transports-goptlib Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 08/24] gnu: Add go-github-com-willscott-goturn Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 09/24] gnu: Add go-github-com-operatorfoundation-obfs4 Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 10/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 11/24] gnu: Add go-github-com-op-go-logging Raghav Gururajan via Guix-patches via
2021-06-15  5:08   ` [bug#48729] [PATCH v4 12/24] gnu: Add go-github-com-blanu-dust Raghav Gururajan via Guix-patches via
2021-06-15  5:26 ` [bug#48729] [PATCH v4 13/24] gnu: Add go-github-com-deckarep-golang-set Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 14/24] gnu: Add go-github-com-operatorfoundation-monolith-go Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 15/24] gnu: Add go-github-com-opentracing-opentracing-go Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 16/24] gnu: Add go-github-com-mufti1-interconv Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 17/24] gnu: Add go-github-com-aead-chacha20 Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 18/24] gnu: Add go-github-com-riobard-go-bloom Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 19/24] gnu: Add go-github-com-shadowsocks-go-shadowsocks2 Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 20/24] gnu: Add go-github-com-kataras-pio Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 21/24] gnu: Add go-github-com-kataras-golog Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 22/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 23/24] gnu: Add go-0xacab-org-leap-shapeshifter Raghav Gururajan via Guix-patches via
2021-06-15  5:26   ` [bug#48729] [PATCH v4 24/24] gnu: Add bitmask Raghav Gururajan via Guix-patches via

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git