From patchwork Tue Jun 15 05:08:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30277 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 323DA27BC81; Tue, 15 Jun 2021 06:10:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 33D5B27BC78 for ; Tue, 15 Jun 2021 06:10:22 +0100 (BST) Received: from localhost ([::1]:50818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1LA-0003Ly-Tg for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:10:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Ks-0003IJ-H8 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36591) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Ks-00060V-8L for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Ks-0005Di-1i for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 01/24] gnu: Add go-github-com-rakyll-statik. References: <574ccbc7-599c-082b-51ca-17e625d4575f@raghavgururajan.name> In-Reply-To: <574ccbc7-599c-082b-51ca-17e625d4575f@raghavgururajan.name> Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan , Jorge Gomez Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373374719864 (code B ref 48729); Tue, 15 Jun 2021 05:10:01 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:07 +0000 Received: from localhost ([127.0.0.1]:48097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1Ju-0005A3-MV for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:07 -0400 Received: from out2.migadu.com ([188.165.223.204]:26393) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1Js-00059W-3O for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:01 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733738; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BsDpbqzkx/L53vbRuGSdKX79yeepkAQ5mh9kcSy39v0=; b=SpHWf5DGyhEYFxr89Vbyk99ewR+1SwMnYGnBuaZoSJU5gWOCZW2/Di36Vc9RJ9FItbm1pa Ise47VWW+uA/l8RflTjX8qCSWyV9ziZ9cWa1S0Zv921vVoDqctpSuKjA3tzbdCSLS6ETpp sZiRgac+qK1xWmF9ukzF9uctO7Lz1VUmdiXuLnbVMFKzSEg2ANRBDbT5XBWpA9VG8EUy7N RM8u82TIg+O6BIw1wJEK0mKahGwR8ZN10HBNG6ceFIGu71vRwueP/qZ0x6SsrpAohwkkCd tzjHHK2LINEZQj9en8TGGY9iusRFPuNxixMGjDE9n/cXdivyeRU4wuQb0MYooA== Date: Tue, 15 Jun 2021 01:08:24 -0400 Message-Id: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-rakyll-statik): New variable. Co-authored-by: Jorge Gomez --- 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 ;;; Copyright © 2021 Ricardo Wurmus ;;; Copyright © 2021 Guillaume Le Vaillant +;;; Copyright © 2021 Raghav Gururajan +;;; Copyright © 2021 Jorge Gomez ;;; ;;; 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 From patchwork Tue Jun 15 05:08:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30288 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0DFA727BC81; Tue, 15 Jun 2021 06:11:45 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CDAF827BC78 for ; Tue, 15 Jun 2021 06:11:44 +0100 (BST) Received: from localhost ([::1]:54762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1MV-0006MB-UV for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:11:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Ks-0003Iy-TK for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Ks-00060s-Jn for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Ks-0005Dq-FR for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 02/24] gnu: Add go-github-com-dchest-siphash. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan , Jorge Gomez Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373374719872 (code B ref 48729); Tue, 15 Jun 2021 05:10:02 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:07 +0000 Received: from localhost ([127.0.0.1]:48101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1Jz-0005AL-A3 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:07 -0400 Received: from out2.migadu.com ([188.165.223.204]:26405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1Js-00059Y-Qh for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:01 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HxvH21HNPu5MDPUtDDvAL6vOyOcNd8VHMwmV2XDZzVs=; b=fjfJFQo9azVjmoTIb9VptdeE1Ft1akSNeEy345/rJGJZkim1IEjEb74gvpjwtn0yaZNw/8 faJPeE5C38/IQa6y8l7WagA+OF+fHEjp2Dlvv721rnbge+1RnvH9GzrRwNJVa4JD7TW9Bp KGxfahZL+SHwiRYqdsf80xlErFTpQ+uXCwX/6DOkJ5lYLLaxWV5DG2uEK+U7r34cNWfqDZ 0YujDx7biVHw+RboJDBkvliKaFCh3p/G8Xx5H23PXPcVkO8CF1bbcDs4fBVA9U8CvHDrLK I76XHrWH+HE+W1n8OMP86RHK1q3zvbfqzzjVn9S7DNUfEVj1oRuc/4y7OtHYxw== Date: Tue, 15 Jun 2021 01:08:25 -0400 Message-Id: <20210615050847.7055-2-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-dchest-siphash): New variable. Co-authored-by: Jorge Gomez --- 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") From patchwork Tue Jun 15 05:08:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30280 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A617427BC81; Tue, 15 Jun 2021 06:10:44 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7440527BC78 for ; Tue, 15 Jun 2021 06:10:44 +0100 (BST) Received: from localhost ([::1]:51590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1LX-00049a-GO for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:10:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Kt-0003Jh-9z for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Kt-000611-02 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Ks-0005Dx-SA for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 03/24] gnu: Add go-github-com-emersion-go-autostart. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373374819879 (code B ref 48729); Tue, 15 Jun 2021 05:10:02 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:08 +0000 Received: from localhost ([127.0.0.1]:48103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1Jz-0005AU-OH for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:07 -0400 Received: from out2.migadu.com ([188.165.223.204]:26411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1Ju-0005A2-Ex for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:02 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eeujd6uqt2pBOFwGkzPNK6PCWKJ/8H43A3MKc2l3Tiw=; b=DQ/OUaRwEs3+SIsngB2/zrfWWhsPyXHdQaZykIbCTliDE+s9P307zVUrn5VLvt6rr2FDqo AsItcNiB+3jB98sHaRqlJXzu1vCgHHJodHaTM3Dgb9Uws8vFq6UQOeJSDzh9jPzUbLQzC9 cYpT/1nAwpJxbnx4J5L8yx5jFYAXddsumoEnAQ5PYrhvCFPs9Ei7hp8aW1j45rtn73C2bQ KNAPdpUcEr35U3+PWC0JoTUpqBXND/MtxzB+JGkEU9p6ovIiG81RQ/JxQdIA5LJChkw32h ebZtRvqXNBBKBBvmuBVFYZ9Bxu5Ah4bCGhWMSmw2wrGstQjGKmVHXhMuJy1zyg== Date: Tue, 15 Jun 2021 01:08:26 -0400 Message-Id: <20210615050847.7055-3-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:08:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30282 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C9F3027BC81; Tue, 15 Jun 2021 06:10:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5CAA527BC78 for ; Tue, 15 Jun 2021 06:10:52 +0100 (BST) Received: from localhost ([::1]:52330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1Lf-0004jY-CW for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:10:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Kt-0003KW-Ln for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Kt-00061O-D7 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Kt-0005E5-8f for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 04/24] gnu: Add go-github-com-apparentlymart-go-openvpn-mgmt. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373374819885 (code B ref 48729); Tue, 15 Jun 2021 05:10:03 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:08 +0000 Received: from localhost ([127.0.0.1]:48105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1Jz-0005Aa-W7 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:08 -0400 Received: from out2.migadu.com ([188.165.223.204]:26423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1Jx-0005AC-1P for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:05 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733743; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=S+RCe2fmQKDGxWP7HaAYGR08HPTTm4CX8Pl/ksuysHA=; b=aRtX91CVfKR+ruTxaAD5IkNwsp1mE20C9IbQKta9SdbYCXyEp73ScqdgjI6HQx5S4z84bQ MRz5h4D+gGIoNB0RxhhBJtpLLjFjY82MDYIoRlY1MSObFZzDztp2le+GL5eF+erAkA+14X mqhPX49AaRoXq7MXELmiLLUQPROhdzPinwysSvpEu6nfe3T09FFvImlJsgyOKtSwlwW09v Icv3l9QAV5SGsddIiJJ2z7JCySYuRAJj8+uproVqP6ljilVR1C32KpOJk1m7RW5s92tRKs q6CSH7OIXJCdVtZXg0OYhiriqASEbK/cWpHsVocJHPPXbVQGyNsIyXUVoIOpSQ== Date: Tue, 15 Jun 2021 01:08:27 -0400 Message-Id: <20210615050847.7055-4-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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")) From patchwork Tue Jun 15 05:08:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30284 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 76E0827BC78; Tue, 15 Jun 2021 06:11:01 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D71A727BC81 for ; Tue, 15 Jun 2021 06:11:00 +0100 (BST) Received: from localhost ([::1]:53004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1Ln-0005B3-TJ for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:10:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Ku-0003L9-0h for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Kt-00061n-Ov for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Kt-0005EC-L5 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 05/24] gnu: Add go-github-com-keybase-go-ps. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373375219909 (code B ref 48729); Tue, 15 Jun 2021 05:10:03 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:12 +0000 Received: from localhost ([127.0.0.1]:48111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1K4-0005B2-CM for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:12 -0400 Received: from out2.migadu.com ([188.165.223.204]:26438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1K1-0005An-3C for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:09 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WO6n544gIOEIyosfvnAbbDvSsOHcdxJQfwGjBI9MlxI=; b=B8J59A2MM2cSCvbbkco20Hy6pdOMHjfO6N/05UddZBuqMZQoSqvPsMNAZTGwJOwcvejdhk KC2sGdGhauCMPnBJoKcMmdcezQ6BxneTuwZWUvwqw4P5sBsU/6P1Yz7YNm4o5o/JM0hF75 lSYnSXOteuJFDccCmzh1RpflIjGWxrVVWFWI/gXpDceEYvbpPSAH/42NANtUSJQCNJyTds IF4vqiOs+sGpiF947X1iaoqdtl19d3dLlRUja3VEJY06ZVGCAGh/Fq5eSsa18GsSc9CHWo L2ihSfFQg5Tp3UGwcvw2F3i2ok5D7kLFJmRDfsGWkS9gUAGGwDbhwSuU6XOCaw== Date: Tue, 15 Jun 2021 01:08:28 -0400 Message-Id: <20210615050847.7055-5-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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")) From patchwork Tue Jun 15 05:08:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30283 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2B07027BC81; Tue, 15 Jun 2021 06:10:54 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E220127BC78 for ; Tue, 15 Jun 2021 06:10:53 +0100 (BST) Received: from localhost ([::1]:52438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1Lg-0004nu-UM for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:10:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Ku-0003Lx-El for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Ku-00061w-5a for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Ku-0005EJ-2T for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 06/24] gnu: Add go-github-com-sevlyar-go-daemon. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373375219915 (code B ref 48729); Tue, 15 Jun 2021 05:10:04 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:12 +0000 Received: from localhost ([127.0.0.1]:48113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1K4-0005B4-K2 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:12 -0400 Received: from out2.migadu.com ([188.165.223.204]:26448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1K3-0005Av-Et for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:11 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Zmd1th9RLrVu+UlP1vJdElIGsBh2VeLYSJ9gdXWSxeA=; b=VcTmlAtl62DZJ/OXWsJIyKHQs0fX7YkI+0ypGkJAFUomSV77WLMjj49foQyl3YnvSH2tOj 7k63XbvIzym2iOUlMVLdMdY+urIVomGDjfh1HvNtCOqATUDfYN1LFGN5EM4kOCV4HxUDt7 jopuXZDFMklzumj276khZvI+PNQW4qpgLKEOC3HO1nRVaUpi3kvDPp4lWOlnYgD7BNZBmm peFhAksSGLl7ZnTugXIK0BwbxR5S6q4ISXffzuB97uvdmIzxiUJihhAv6naiUl5onjm2PC VpgDcybx5YjY3imMjnTB6dagm7LkSa4g2TLCsYyf6cTnPfhLZZ1UUH0EM4YtpQ== Date: Tue, 15 Jun 2021 01:08:29 -0400 Message-Id: <20210615050847.7055-6-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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")) From patchwork Tue Jun 15 05:08:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30278 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7429927BC81; Tue, 15 Jun 2021 06:10:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, TVD_SPACE_RATIO,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 260F927BC78 for ; Tue, 15 Jun 2021 06:10:35 +0100 (BST) Received: from localhost ([::1]:50912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1LO-0003Rg-7A for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:10:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Ku-0003M5-Rb for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Ku-00062S-K8 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Ku-0005ES-Gk for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 07/24] gnu: Add go-torproject-org-pluggable-transports-goptlib. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373375719940 (code B ref 48729); Tue, 15 Jun 2021 05:10:04 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:17 +0000 Received: from localhost ([127.0.0.1]:48119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1K8-0005BX-SC for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:17 -0400 Received: from out2.migadu.com ([188.165.223.204]:26454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1K5-0005BH-Ty for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:14 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733752; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WHDK7drbi5OBxYWmTf2WAue4g3c8d+Pa4yhB6SfU/Rg=; b=GhiHcxaAcz2METNyFrK0HJi60sMzKPC9VOR0Yhk4zpjRob8zmg3ZG8Rq5jlqxaATsa5Zuz IhEqG0wqllg9Kk9H6uobyEYJgWYLd30Fv73u1mvkiUUxvki01XyXPIykIJaVUtdoh6QeuU cOingKVHoXX2yAD1T+6wfsU79j5tFlLvNk6j2goFdrlU5y+KMB0aWKLFznkMwNcPdtNVI3 Q0aXPuhWoF3R6li7//zo2zWALzPbJNgPezAzm02k0bUcPXgJ1niLq2zBvBE9Mu8k/5EzH7 7ixFJTowxKmRkYYyWdfDzaLxmstrKKV8f8eeb6xyacU/v8gUz+ZRxcaYq85iTQ== Date: Tue, 15 Jun 2021 01:08:30 -0400 Message-Id: <20210615050847.7055-7-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:08:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30281 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2218627BC81; Tue, 15 Jun 2021 06:10:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E4E4827BC78 for ; Tue, 15 Jun 2021 06:10:45 +0100 (BST) Received: from localhost ([::1]:51760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1LZ-0004Hy-14 for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:10:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Kv-0003Nb-Al for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Kv-00063J-2O for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Ku-0005EZ-UM for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 08/24] gnu: Add go-github-com-willscott-goturn. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373375719946 (code B ref 48729); Tue, 15 Jun 2021 05:10:04 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:17 +0000 Received: from localhost ([127.0.0.1]:48121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1K9-0005BZ-3f for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:17 -0400 Received: from out2.migadu.com ([188.165.223.204]:26463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1K7-0005BP-Mq for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:15 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ePoNadrC2OaRCGoThOp+5VpgUbChktaSxCX6JEz/60g=; b=Ae4cVVr1gQPMmYSo9GYNkYd/6Ez+Hcru+dP5aYFOEomnCLCptrVYC1+o7pE6TAWnp5klPX quf+QBzn60MsIdm0pZNLWib7GdsKp74l599ej+9cCSJfdIOCev88pHZO1thyUGANheclnP 20FxkIg7Gs0gwiqUK655LxZ+4jcMbHKhz0Qt7Js+e9OCBowt2TWYHnDKQ96CPTfKrHx3pr EGx8guGyBzaXl5Xx1QnfhDc6rLzNZuwwpShje4Oq8Dlawi4Sd1ldFV/EFgQGM9DSBMI5lK ClLRhuL0mcAua+BdnWUHLjhy4kyLo6kwP88X2kmElZg+P5IQjJBzhjhEVKN0kg== Date: Tue, 15 Jun 2021 01:08:31 -0400 Message-Id: <20210615050847.7055-8-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:08:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30285 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E173C27BC81; Tue, 15 Jun 2021 06:11:02 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 07B0827BC78 for ; Tue, 15 Jun 2021 06:11:02 +0100 (BST) Received: from localhost ([::1]:53096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1Lp-0005EZ-14 for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:11:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Kv-0003P6-PD for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Kv-00063R-GD for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Kv-0005Eg-C5 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 09/24] gnu: Add go-github-com-operatorfoundation-obfs4. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373376119971 (code B ref 48729); Tue, 15 Jun 2021 05:10:05 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:21 +0000 Received: from localhost ([127.0.0.1]:48127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1KD-0005C3-B6 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:21 -0400 Received: from out2.migadu.com ([188.165.223.204]:26480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1KA-0005Bo-6T for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:18 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733757; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LuMCFV4Qqlms8vtZAhPGHkZA8cxIk4aTp8RwAnLyl3I=; b=QyCMNxj0KIlqDEC0lM+fLQPGzneqb/9OzZtg0KrLPq6bkFtMgIM5aONOGnfuXRJkk+AZzl dugPhB7FVHnHzR8dNnNouEAp2J7EIbeUkUNk7LctWMmAV9iCQw7XfEJr4q3Ujivs0Q0nfW Wz+R/qipzZNImLh0sJ6Z97lKx4CVrs4TwDyLhdFkHjxpjM/JRmF/7FEJGxeH00PWYklhAO 1250kPEI3zflYsXiM1vpt2wCggbHfHootX/50daoEUeIFvmfP6rM4G0GomrCtw8UqzBoCS JbSLLYSmMhANINdmFByBXhPtI6lcPkd8thTGgW22Kij+UkMW9U/6XODM+9MOkA== Date: Tue, 15 Jun 2021 01:08:32 -0400 Message-Id: <20210615050847.7055-9-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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")) From patchwork Tue Jun 15 05:08:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30286 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7437527BC81; Tue, 15 Jun 2021 06:11:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 07B0627BC78 for ; Tue, 15 Jun 2021 06:11:08 +0100 (BST) Received: from localhost ([::1]:53626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1Lv-0005ak-3Y for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:11:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Kw-0003Q7-5Z for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Kv-00063s-TU for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Kv-0005Ep-PL for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 10/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373376319986 (code B ref 48729); Tue, 15 Jun 2021 05:10:05 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:23 +0000 Received: from localhost ([127.0.0.1]:48131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1KE-0005CH-QG for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:23 -0400 Received: from out2.migadu.com ([188.165.223.204]:26487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1KC-0005Bw-A4 for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:20 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733759; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I5zxW+ZSwIjrwOsUFLGZVnAx9fyIV1UlExAL0dwOgEs=; b=BdKvQZSq8f3pjPJjZJfgBgJYEARorYVUOmY+cb5Sz/6eqp8k56PKgoQ3TTvyX5gTSo5hgj 8XJwcjA0LeWIPe1QgOs0RJTuQJIW7oLY8BbBUvxY2277Az4H9SJZDJLh1IHT9OoFxEF5kU mIyzrRlFCoLuqsspzRRf1gMadbpPdwkSAjnS4Etyd00rLz1eeUa+Ua/gtHdWk2s7ZhDo0W yfDdfBrDKfzadKOiM2PNjW14lxyidNymOmEIXMXBdrJDhoCGy62vy4JijU6ZfM+RSPYW7x 7mDHqsXHzNM22fJOSqSqePToCDGDbFBCO8pnhD8TnyJd5g+9mFOYAJp26GmCbw== Date: Tue, 15 Jun 2021 01:08:33 -0400 Message-Id: <20210615050847.7055-10-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:08:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30279 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2568927BC81; Tue, 15 Jun 2021 06:10:36 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DB81327BC78 for ; Tue, 15 Jun 2021 06:10:35 +0100 (BST) Received: from localhost ([::1]:50952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1LO-0003Vz-Se for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:10:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Kw-0003QC-Ju for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Kw-00064I-CC for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Kw-0005Ex-7t for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 11/24] gnu: Add go-github-com-op-go-logging. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373376720006 (code B ref 48729); Tue, 15 Jun 2021 05:10:06 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:27 +0000 Received: from localhost ([127.0.0.1]:48135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1KJ-0005CZ-3n for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:27 -0400 Received: from out2.migadu.com ([188.165.223.204]:26495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1KE-0005CB-Em for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:22 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733762; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IlVtXDihJ8tVX9YfcVFMX97i0UVVHi0eVePbGpMu5hI=; b=WQPWC7YEnzcA2noHf2ME4nEziykULblXDT95Yihbdqj35Jq1dTJ1hFMkm8jaRy2Shwoe20 epRnxwIw4Rsrv/ERQfhfhrQcV2vez03qwcq/xv/yQp0YKX9CztTpgvC09I4mY0jItgaCUG B1KD9m7IBwcRWuSb8026b414Y/n9HCKMyl+4dKF4MElMPLD1iOxfVxAbyHGwwwXabuw1U3 wVxuayVXTNfto5qPwazmGR3qMWHeCNzzlk7waA85BIXsMI63GwoMVpo7TUuILmbXTz7YGu cAXF03stGJJMiY94NYJk9+xx+na7mPmlJjQWUxuhLnc8IWW5HWJBdDLEDW0kug== Date: Tue, 15 Jun 2021 01:08:34 -0400 Message-Id: <20210615050847.7055-11-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:08:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30287 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AE4AF27BC81; Tue, 15 Jun 2021 06:11:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2AB6A27BC78 for ; Tue, 15 Jun 2021 06:11:15 +0100 (BST) Received: from localhost ([::1]:54100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1M2-0005u4-9B for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:11:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1Kw-0003QD-Vn for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1Kw-00064r-OG for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1Kw-0005F5-Kb for guix-patches@gnu.org; Tue, 15 Jun 2021 01:10:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 12/24] gnu: Add go-github-com-blanu-dust. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373376820013 (code B ref 48729); Tue, 15 Jun 2021 05:10:06 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:09:28 +0000 Received: from localhost ([127.0.0.1]:48137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1KJ-0005Cc-Ck for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:27 -0400 Received: from out2.migadu.com ([188.165.223.204]:26509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1KG-0005CQ-JV for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:09:25 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623733763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=skrTPPf2GGBZXnnUocE8In/QePQCVWXDhaZrf6bhTaQ=; b=L4cdPDZfII2amLaLuWIw+mqLjkRHicfjigYJ8MLosAG4MZKC/jcWEt04P1EQJbNxikKWxf gSTr3V7aFRGryoNPIhFUfS53Z43oPRGXV2JzGPUiaY60S1oN9SU+CUwoOyCgCp8+upNeng B6mEviu4u/4qp0PD2HeX0GTNHlzCcmXuv8jPEZtyqhRMl55DlRcZybvka2WtNj1x92p41V qhFtz5cIy2nPykGmQnLKGIz1rTFjDA+QIfFNtTs/sS7UgnBrKC9elpI977xllEWFYm2S25 z3C+3pR3j40ytD85TtJF4gIhceuYNsZJdhSyXga5fCJNJOc505cCu9Ap1qL9jw== Date: Tue, 15 Jun 2021 01:08:35 -0400 Message-Id: <20210615050847.7055-12-rg@raghavgururajan.name> In-Reply-To: <20210615050847.7055-1-rg@raghavgururajan.name> References: <20210615050847.7055-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:26:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30298 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 38F6A27BC81; Tue, 15 Jun 2021 06:29:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, TVD_SPACE_RATIO,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0360527BC78 for ; Tue, 15 Jun 2021 06:29:09 +0100 (BST) Received: from localhost ([::1]:34758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1dM-00056g-4G for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:29:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cJ-0002es-4D for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cI-00040z-SI for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cI-0005kU-Ph for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 14/24] gnu: Add go-github-com-operatorfoundation-monolith-go. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373482721910 (code B ref 48729); Tue, 15 Jun 2021 05:28:02 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:07 +0000 Received: from localhost ([127.0.0.1]:48194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bP-0005hJ-Ha for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:07 -0400 Received: from out0.migadu.com ([94.23.1.103]:39114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bL-0005gl-Ud for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:04 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+r/+GExvtwdTfWqhQ7zkkSBkQT4U2lY5LYcIQLpCFHk=; b=Qt2zkfdkSrXab19s5W2ghRowUD7b/kzSwRtZeeavGRmaMlwuTD5qJPFxlKfgdeh/nvUZXH p1UukJbAyrgGcz2FV3GPg8u15e2RD21Gnu9yOUeH8LlEHuilso0twpysPm1Vxf3cksTi9E gtNbavA1LLS4vUj9wjKi8UzjyzKDtvO2UpzUGpa9Le9IqF1byAnsO8W1FzXlAhum6+BCny tPYiJl2OBDrEDoE6LonXkT1B6JGgSrh5rgUNO5JvD7MY6x+7kSE/WB0DW7k1qVQu0sZ0CK kaBd9YUMqzDahJViYFR1lyD40afmnixK+0urbu+/mIFFcIJAcgfr+OdnEI1r7g== Date: Tue, 15 Jun 2021 01:26:36 -0400 Message-Id: <20210615052646.7912-14-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:26:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30290 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E06D727BC81; Tue, 15 Jun 2021 06:28:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, TVD_SPACE_RATIO,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9E6A427BC78 for ; Tue, 15 Jun 2021 06:28:13 +0100 (BST) Received: from localhost ([::1]:59744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1cS-0002hq-Iw for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:28:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cJ-0002fX-Ge for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cJ-00041u-8O for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cJ-0005kc-66 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 15/24] gnu: Add go-github-com-opentracing-opentracing-go. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373482821916 (code B ref 48729); Tue, 15 Jun 2021 05:28:03 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:08 +0000 Received: from localhost ([127.0.0.1]:48196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bP-0005hL-QR for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:08 -0400 Received: from out0.migadu.com ([94.23.1.103]:39124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bN-0005h5-MD for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:05 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734825; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X6+M9Lf9Q7G5GYY5Rb7ug5zy/5wlxjETAGqKWagRfyY=; b=t49Rqt4MjkL3CO/3r9lBtg6e7B76kUdJyh6MFwogKyJ1fT/wXX1mNcy6QLLEZe+bvYzzD5 o9CzaTzwkn2qcwsHWXPnaWJxLdQW2ZnGnppdg8fgZk3Ax/Og0HahLlMRqPunO6zmg46wOp iuyP1haFxg+JHFJxu7Sss9XAnfpIU5bpHYVL6yjjVBJ75wfIYKs4aDClHE77AzUF/n0GDB PLIvQTbNJA2BJbklWbhOySQEAawJ3dD11ObS+DiviwCSgf6KhthVbuxdEPePBqeAXKuM8j eI1Hjjd5ygGc7/FfQ+heqaHOhHwNAGPmLGj6ME5jhIwXcAtGf/SmL1g4FDOVBg== Date: Tue, 15 Jun 2021 01:26:37 -0400 Message-Id: <20210615052646.7912-15-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:26:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30291 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F1A0627BC81; Tue, 15 Jun 2021 06:28:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BFAD027BC78 for ; Tue, 15 Jun 2021 06:28:14 +0100 (BST) Received: from localhost ([::1]:59810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1cT-0002ki-Nr for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:28:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cJ-0002g8-S0 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cJ-00042N-Kh for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cJ-0005kj-IN for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 16/24] gnu: Add go-github-com-mufti1-interconv. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373483021931 (code B ref 48729); Tue, 15 Jun 2021 05:28:03 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:10 +0000 Received: from localhost ([127.0.0.1]:48200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bS-0005ha-3m for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:10 -0400 Received: from out0.migadu.com ([94.23.1.103]:39137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bP-0005hC-69 for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:07 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8f57FWzWTt90w4OC3tKSjUTzp/xwS71EH+avApixc1g=; b=td5wCkGqwUSGYmlvggJVzoh4AWiFpoHw56ptlva5adZna46BIf+IYVkJxknf1WIYmvWLlr MBimZsC9jKhOAZ5Kv4HHrp+nKwqYLCIVLSy3LcmuCeCoEV2csVPqetHi4YKiiYlEe70I3C Ihi7Wu75tdlKjn1COTwrK5BJK7dh90h/pMsKY8NmQvAms07m0RCzhhwkjnNQuDATTWzlAJ p7/lYOgxZppUf69njnnJrAJlIEn6R9ftm1WbyS+8vnUbJBdYDsLyh4VCRRApWFNndTBHrU txIOGCoxevqCmrmjBG73e3CzJY5H/gCFQpVOdihoXwA9HdukF2oLFi3Ee+ckYA== Date: Tue, 15 Jun 2021 01:26:38 -0400 Message-Id: <20210615052646.7912-16-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:26:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30299 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 98E7127BC81; Tue, 15 Jun 2021 06:29:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5817F27BC78 for ; Tue, 15 Jun 2021 06:29:16 +0100 (BST) Received: from localhost ([::1]:34980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1dT-0005Fg-Fm for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:29:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cK-0002gv-8C for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36688) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cK-00042l-0y for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cJ-0005kq-VQ for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 17/24] gnu: Add go-github-com-aead-chacha20. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373483321947 (code B ref 48729); Tue, 15 Jun 2021 05:28:03 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:13 +0000 Received: from localhost ([127.0.0.1]:48204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bV-0005hv-F1 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:13 -0400 Received: from out0.migadu.com ([94.23.1.103]:39154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bR-0005hY-Mu for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:10 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734828; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/PvZS6J+gih9pw0rGHIlY9mgm/m01Bcgp1rmZV2t4ck=; b=PxeEtWDWNa0ZA52YvTBjJ7F4cdzxXs5L+/0MST00TQJlCCTMJCAzmk/N1QDFO20cfVV9ex LUCz24fEEjLfClpG67GDZIdoix2eTWRl+g3KcSS05dxrTjA1affSUu37Anddn5TAvSnQv6 Sl1vf8Kbe13nWLwxm5FdwO6WVPtcHW3pCkVevNERUM+xMN1fWqgf725JPvig2uLqkjCuG4 fcO95w9l3fq166k0RMJyp+8imyNOI80YjFMAxR84idEA8TaK1A6qUQz1tEAVKmqwgNK5kO jqEtC3jQAm5H7Awvet7RErqK1qF5FFiMrlpSfeKooF7XiHwsGwY3qnU6bp5Klg== Date: Tue, 15 Jun 2021 01:26:39 -0400 Message-Id: <20210615052646.7912-17-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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")) From patchwork Tue Jun 15 05:26:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30292 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CC41127BC81; Tue, 15 Jun 2021 06:28:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 90CF027BC78 for ; Tue, 15 Jun 2021 06:28:35 +0100 (BST) Received: from localhost ([::1]:60510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1co-0003LU-Li for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:28:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cK-0002hV-LX for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cK-000439-Dj for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cK-0005kz-Bu for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 18/24] gnu: Add go-github-com-riobard-go-bloom. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373483721972 (code B ref 48729); Tue, 15 Jun 2021 05:28:04 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:17 +0000 Received: from localhost ([127.0.0.1]:48210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bY-0005iI-Mp for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:17 -0400 Received: from out0.migadu.com ([94.23.1.103]:39161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bU-0005ho-AU for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:12 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v34wKG6iPYzUWf862TNNT3lmTw+CXu4AtsP0M1Kf6xc=; b=Cp7RdZHf9TOKEQxqg1bOBkgoqgflHTFLss9OTK6dnHx8sRMcjrV0qXdXTWqq0Ra8KHsr8D UIyx4sbMWdoHmR/hNgEIBEdCRmvy7qZZauEAoGG8Ve4SmoNqkOIOiXZqsuu/nyESR0yR0H If8z03QL1O9Qc2ibucxhmeLilpW7FiUcUJuztbv0tD28hMs3c/g5wr0MZOb+QXvb0DxEnu oVmD3GfHGI9uTTzVFfcENglkMXycss4DuFg8WcX9t+gEiTlUH78ubTizK+vB8vu48470uz YCA4N62+YJtSvgueAtlDJq+ABa3AnwERG4Xl8YRdr3wci67tFH0E9GgpbBZTDw== Date: Tue, 15 Jun 2021 01:26:40 -0400 Message-Id: <20210615052646.7912-18-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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")) From patchwork Tue Jun 15 05:26:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30293 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 31ACB27BC81; Tue, 15 Jun 2021 06:28:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, TVD_SPACE_RATIO,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BCE4E27BC78 for ; Tue, 15 Jun 2021 06:28:36 +0100 (BST) Received: from localhost ([::1]:60652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1cp-0003R7-Qw for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:28:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cL-0002iN-46 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cK-00043F-SQ for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cK-0005l6-O4 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 19/24] gnu: Add go-github-com-shadowsocks-go-shadowsocks2. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373483721978 (code B ref 48729); Tue, 15 Jun 2021 05:28:04 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:17 +0000 Received: from localhost ([127.0.0.1]:48212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bZ-0005iK-2J for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:17 -0400 Received: from out0.migadu.com ([94.23.1.103]:39172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bW-0005i1-28 for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:14 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=W+P3cNwLjkwd2JsXTJrqGo7gnEFBNdXAfM+8OnDQ64U=; b=PmS8VFoC6f8VI49/x9FSDyFy8coSXA9z1KiF5464YZfkbVW2m2qe4OkasfUolDKBbKFRCu w1TD3pb3o+5dKwzztcPnDZB9fcX3CPDBtchmw1XaC2mkS+EclhfAp+OFELInX+O+taIzdM 3QlV3fyE7hg/qwzwkBP4fHASXmtQgqgbzaGm3JRQ5YfpoYYL6UKNZMfWkHE+bQcg8LJmfC wSRLDknVmYCP6SdDi2NMsNVKM78rLfyMFDPUuqGd4Yd2xeS2M0tusuw1AJwKy7EGHhQBTq SHiBahlUvbE1hyMT+8lMU4SgoBjI+M0QTrqNvypeOb/PqPUhs+w6Q7DVvQHkRQ== Date: Tue, 15 Jun 2021 01:26:41 -0400 Message-Id: <20210615052646.7912-19-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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")) From patchwork Tue Jun 15 05:26:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30295 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 46C8E27BC81; Tue, 15 Jun 2021 06:28:44 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1725227BC78 for ; Tue, 15 Jun 2021 06:28:44 +0100 (BST) Received: from localhost ([::1]:33082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1cx-0003vm-3V for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:28:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cL-0002js-GT for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cL-00043i-7o for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cL-0005lD-5a for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 20/24] gnu: Add go-github-com-kataras-pio. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373484022003 (code B ref 48729); Tue, 15 Jun 2021 05:28:05 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:20 +0000 Received: from localhost ([127.0.0.1]:48218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bc-0005in-Bg for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:20 -0400 Received: from out0.migadu.com ([94.23.1.103]:39181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bX-0005iB-LM for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:15 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734835; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VIYnKYq/SEcXAUTGlXVNTPCJBSkUhbekNGJk0EHVvi0=; b=VVmSQZz8QJaG5WlAu4EupsNh75OTYntU6lhms9TcGfuJexxNudDZB83h1VmpD62khbbky6 b6AL4fOPkX7H2DOnL7AO7hwXfXm7Z7pcglTmXgYFP+5ndXJIlJ00AHI7Z7t5HCAYf1HrKP xQwPRLk3sqNPBZDzUzQsrrDcHZpSecA/7gJKeYFhlkFo/nTtNw3jhXNXyOuOPGjGir39Np KsVT3c0vOloK1hKaCwpmg6tmLeu8WOqblMNizOprlqioFhDQcOzaOyL7jSVMDFY0ESUfB4 roDbbEypQusJ7roFVsZX12WT5u/cZVKMBRFBy9avt6mQ16iy3BZaG/XSY2XdqQ== Date: Tue, 15 Jun 2021 01:26:42 -0400 Message-Id: <20210615052646.7912-20-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:26:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30297 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2577727BC81; Tue, 15 Jun 2021 06:28:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D4ED727BC78 for ; Tue, 15 Jun 2021 06:28:51 +0100 (BST) Received: from localhost ([::1]:33706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1d4-0004PF-Qs for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:28:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cL-0002lP-Vm for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cL-00044E-MK for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cL-0005lL-Ju for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 21/24] gnu: Add go-github-com-kataras-golog. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373484122011 (code B ref 48729); Tue, 15 Jun 2021 05:28:05 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:21 +0000 Received: from localhost ([127.0.0.1]:48220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bc-0005ip-Jn for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:20 -0400 Received: from out0.migadu.com ([94.23.1.103]:39194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bZ-0005iN-Ba for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:17 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734836; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WRLoi2SEbE3EioutrPciuP+Wz9PfYIiEoNfe8+rHdvA=; b=PvWtEsyBaygBJ9jkJEVwtq5WdDRtGF8ykeOy5++0VyxaJrYaShfMZdCWyCrUNGJegsMxG4 sQKXIyyTlmvrtW6NJFtoBkiUvL6G6PcG827Z58CzkVu0GqgCElWOst5Zwia1iSk+vKtrzN dsSGDhKddW4iW3Xz5O0vtxqKj9sm/bxmXnmQq/h/oTntyqfs3J3VSVlfVXREAcBQBAqA3q HT+4ir8vBkvRfSw1sTapBO2duVMg9VUJS+v/YQgem6vxWN02eEqs7lNgEh/+pommU8l8N9 zyWOcFoOxCzf9TW5C6S3zBwt7zZPjwTwfQNGO5WFFSqrM4566zD94ktvm9suuw== Date: Tue, 15 Jun 2021 01:26:43 -0400 Message-Id: <20210615052646.7912-21-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:26:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30294 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D947027BC81; Tue, 15 Jun 2021 06:28:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, TVD_SPACE_RATIO,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4308C27BC78 for ; Tue, 15 Jun 2021 06:28:43 +0100 (BST) Received: from localhost ([::1]:32988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1cw-0003rq-Ae for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:28:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cM-0002mN-C9 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cM-00044L-2L for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cM-0005lS-0B for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 22/24] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373484122022 (code B ref 48729); Tue, 15 Jun 2021 05:28:05 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:21 +0000 Received: from localhost ([127.0.0.1]:48222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bc-0005iy-Ta for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:21 -0400 Received: from out0.migadu.com ([94.23.1.103]:39204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bb-0005ig-17 for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:19 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734838; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xNWu0wXdSd1VWLOUqgx2i1VoqKqoFx3wvl9J+HkDgSE=; b=o06Ki8bVWKE2p84fv0dRIF53G16louhmxlhWOM7zdy/FwMDuR7hkxFqJP+m7YuXN0BdBsw qlkopSNqeQ4eOuRqn6Zv0cuYAQrTlmjKttPneHinndVbWXzKU8mw05VRLlgzY74FK3LV0J b+GtZiGfv9eiyMY6haB1R9yj/3K+UhirP7EE6WTfVTR+UD8t5DzGukk36jQ1h0t0ba91fG ziADXW3zk/FZC01XL52f97t97m0tWbGHDPvRQF+b539+sV8imlLBXPLp/0R+m0LCq5YBj9 kiwMyLIuo3JqjWgYZBw4q0GLBedyoovE2evU7yF6Mwd3319Eyi0avooMn+EtXw== Date: Tue, 15 Jun 2021 01:26:44 -0400 Message-Id: <20210615052646.7912-22-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:26:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30296 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3823427BC81; Tue, 15 Jun 2021 06:28:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, TVD_SPACE_RATIO,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0415B27BC78 for ; Tue, 15 Jun 2021 06:28:51 +0100 (BST) Received: from localhost ([::1]:33642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1d4-0004MW-2l for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:28:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cM-0002nY-Os for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cM-00044k-El for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cM-0005lZ-CT for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 23/24] gnu: Add go-0xacab-org-leap-shapeshifter. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373484622040 (code B ref 48729); Tue, 15 Jun 2021 05:28:06 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:26 +0000 Received: from localhost ([127.0.0.1]:48228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bh-0005jP-L7 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:25 -0400 Received: from out0.migadu.com ([94.23.1.103]:39209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bc-0005ir-Sj for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:21 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bOedcY370g862YILrHFZ1W8Izs7B6IcNAr0ZQFxoBnM=; b=t4m8ndLZ3tlQY+sI7jsn9aA0Qqu1Inf0eaMQyoOMhrBAAeSGfggHrBZQ+/FAAO3jjtU62j MsAVWAD/RMUkzlDnGu5El92bZuTHQXYSLXahQzstXrj9OkwQDZsQXIRYEtaQmV0+HT2AQH 6THh54RypS9O8DQgxVkS9JTvF6Kw4Ahu3JKJe4IwKxYNjlEZf+GvQ9USkYqV+n43fxT2qS rWweF/WSCUGLl6vOxqfSRiqCQLk5kb20SIRUQohmkVzJR4OrtSW+AWpsbuqKjcoebPWa2Q JIKxCpBVVa457e8mjfLRsG5zcX4jU6jtr01wHfHZqe0oG22rxQVtf/Mx2scj0g== Date: Tue, 15 Jun 2021 01:26:45 -0400 Message-Id: <20210615052646.7912-23-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Tue Jun 15 05:26:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30300 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F03C727BC81; Tue, 15 Jun 2021 06:29:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1601627BC78 for ; Tue, 15 Jun 2021 06:29:27 +0100 (BST) Received: from localhost ([::1]:35194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt1de-0005Oi-4U for patchwork@mira.cbaines.net; Tue, 15 Jun 2021 01:29:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt1cN-0002p3-4z for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt1cM-00045H-Rc for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt1cM-0005lh-P8 for guix-patches@gnu.org; Tue, 15 Jun 2021 01:28:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v4 24/24] gnu: Add bitmask. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 05:28:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan , Jorge Gomez Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162373485322055 (code B ref 48729); Tue, 15 Jun 2021 05:28:06 +0000 Received: (at 48729) by debbugs.gnu.org; 15 Jun 2021 05:27:33 +0000 Received: from localhost ([127.0.0.1]:48230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1bh-0005jR-T1 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:33 -0400 Received: from out0.migadu.com ([94.23.1.103]:39219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt1be-0005jG-Vu for 48729@debbugs.gnu.org; Tue, 15 Jun 2021 01:27:23 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623734842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kaV0J/fjjlIwtzYDsqc5bUYt2x/agIWYbVhxZafnevc=; b=c2gyhkjWY0uuZRYRdCfkeDAVCe6na3toR7jnkSD6M0Pvkj4j2cLvfxz6mdibVf6Bzk4VEA YJy3ibc6poWp6Aj6RU8gQHEfk6IGLuHmIr3pvrb+lwL0u4ZIXzp179IC3Gci864xMIk0ur yPV2rCDiGtA7ECpZZA8X6ez1zEtRjbglrMLLJY0afGGVCrBeJ3gj2GDBJEW3239YjKLRvw 1EcXw9fFDVXg+o6Vu1SecF3PJqE3ojr6W61/RxYauOluCTMbJjwc37PhCiIP6G99j/d5Y6 CjV5HN2hz/2HEOOq9wkv0sfC8cvm/3ccWnbHwfj4qUW7VCzY71xrLtVPUk38aQ== Date: Tue, 15 Jun 2021 01:26:46 -0400 Message-Id: <20210615052646.7912-24-rg@raghavgururajan.name> In-Reply-To: <20210615052646.7912-13-rg@raghavgururajan.name> References: <20210615052646.7912-13-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/vpn.scm (bitmask): New variable. Co-authored-by: Jorge Gomez --- 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 ;;; Copyright © 2020 Ivan Kozlov ;;; Copyright © 2020 David Dashyan +;;; Copyright © 2021 Raghav Gururajan +;;; Copyright © 2021 Jorge Gomez ;;; ;;; 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")