From patchwork Fri Jul 9 16:19:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 31267 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 0F16D27BC81; Fri, 9 Jul 2021 17:36:50 +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 AF70527BC78 for ; Fri, 9 Jul 2021 17:36:49 +0100 (BST) Received: from localhost ([::1]:45796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1tUe-0006BT-QP for patchwork@mira.cbaines.net; Fri, 09 Jul 2021 12:36:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tES-00062R-C6 for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1tEQ-0005Wu-Mx for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1tEQ-0004Jq-JM for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 1/7] gnu: Add go-github-com-davecgh-go-xdr. References: <20210709161203.11468-1-arunisaac@systemreboot.net> In-Reply-To: <20210709161203.11468-1-arunisaac@systemreboot.net> Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49494@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.162584759416543 (code B ref 49494); Fri, 09 Jul 2021 16:20:02 +0000 Received: (at 49494) by debbugs.gnu.org; 9 Jul 2021 16:19:54 +0000 Received: from localhost ([127.0.0.1]:59578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEC-0004IT-BV for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:54 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tE8-0004Hl-Rn for 49494@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kuepHX9T3eIVyPJKQx5sMyDeXXnqXb4TUDQWx3hFXyI=; b=g0pn8+ftxoKhI5MXwh+upB4kQ1 WNgn35e8D/tzs4iyvJOUAnEeDprG2/1l2M6Yh98p+dUI9wVMvfiOE9TuE0OZnYvo7kVDezXWXZRJP JIJSGRSpHNPWvXI7mO1Sgi/tkipiUEo9spcK+PejX7KCgl9v3Ef9dwQtgbCFDVqlupf1jWiPH5W47 Q/J0Awa2JH2+eidJQ6uxKSiMogRGMeNRHDbiagBKfDWMHGNDMWBurx/Cz9tXUPkYbSGhwBPDi1zXi AOwygdJLZDNMkqiT67D4XyqzXIzNQn5p0B56go1EWselHPNb7CKFmWGXKbTR2IOLHMD6RSBSUhYK+ grkT+BRw==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m1tE6-000ASF-BW; Fri, 09 Jul 2021 21:49:42 +0530 From: Arun Isaac Date: Fri, 9 Jul 2021 21:49:34 +0530 Message-Id: <20210709161940.12759-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-davecgh-go-xdr): New variable. --- gnu/packages/golang.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a830afa022..cbce7bec41 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2018, 2019, 2020 Katherine Cox-Buday ;;; Copyright © 2019 Giovanni Biscuolo ;;; Copyright © 2019, 2020 Alex Griffin -;;; Copyright © 2019, 2020 Arun Isaac +;;; Copyright © 2019, 2020, 2021 Arun Isaac ;;; Copyright © 2020 Jack Hill ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Nicolas Goaziou @@ -8224,3 +8224,28 @@ simplifications, and enforces style rules.") "This package provides a library for fast, structured, leveled logging in Go.") (license license:expat))) + +(define-public go-github-com-davecgh-go-xdr + (package + (name "go-github-com-davecgh-go-xdr") + (version "0.0.0-20161123171359-e6a2ba005892") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/davecgh/go-xdr") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vifrz4iil4r7k8sz5iqlfbh80ysgs5abp2simgyhsbrkxrrsrrd")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/davecgh/go-xdr/xdr2" + #:unpack-path "github.com/davecgh/go-xdr")) + (home-page "https://github.com/davecgh/go-xdr") + (synopsis "Pure Go implementation of the XDR standard") + (description "@code{go-xdr} implements the data representation portion of +the External Data Representation (XDR) standard protocol as specified in RFC +4506 (obsoletes RFC 1832 and RFC 1014) in pure Go.") + (license license:isc))) From patchwork Fri Jul 9 16:19:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 31265 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 F1FB227BC81; Fri, 9 Jul 2021 17:26: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 C022427BC78 for ; Fri, 9 Jul 2021 17:26:52 +0100 (BST) Received: from localhost ([::1]:48674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1tL1-0004lP-QQ for patchwork@mira.cbaines.net; Fri, 09 Jul 2021 12:26:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tEQ-0005vL-Ko for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1tEQ-0005Wm-CE for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1tEQ-0004Ji-6S for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 2/7] gnu: Add go-github-com-dustin-go-humanize. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49494@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.162584758816524 (code B ref 49494); Fri, 09 Jul 2021 16:20:02 +0000 Received: (at 49494) by debbugs.gnu.org; 9 Jul 2021 16:19:48 +0000 Received: from localhost ([127.0.0.1]:59576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEC-0004IR-4b for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:48 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tE8-0004Hj-Qz for 49494@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=T72sRKdNBj9vaqHXn5fj4BCw/XszRRh8BfG5O66JRNs=; b=QQ+5hi0cQoOM70LZnl3BBXTjOu HomPnH/E9tYi2XiUn4CAd376hXS2OI89jtEJO8witRdoS8eIsGhTwuLA7RvwxXxn7HUJLQI5rjOcs ELArg2R4OzSLQDAFAisHgCYaoYUid2PMQni3oY32xnIX/7QOqD5Jvert+MpBtTmAw5XXvwWye4Cbq sWwIt+e9IK/FTzPQ2BfZoHEwa3bP9cMToEkdHBVBXCXEk0Kev8NOp/b1uoWaDreCgLQuwwaC+i3yv vVBqKoVtrnL8spMlSZuxngVwFRmToh+H/NokO83rT5eyhyOjqc7iWKS0djNbOagpZfIqs8peYbO8e 6QgTx77Q==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m1tE6-000ASF-G3; Fri, 09 Jul 2021 21:49:42 +0530 From: Arun Isaac Date: Fri, 9 Jul 2021 21:49:35 +0530 Message-Id: <20210709161940.12759-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210709161940.12759-1-arunisaac@systemreboot.net> References: <20210709161940.12759-1-arunisaac@systemreboot.net> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-dustin-go-humanize): 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 cbce7bec41..972989c84f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8249,3 +8249,27 @@ Go.") the External Data Representation (XDR) standard protocol as specified in RFC 4506 (obsoletes RFC 1832 and RFC 1014) in pure Go.") (license license:isc))) + +(define-public go-github-com-dustin-go-humanize + (package + (name "go-github-com-dustin-go-humanize") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dustin/go-humanize") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kqf1kavdyvjk7f8kx62pnm7fbypn9z1vbf8v2qdh3y7z7a0cbl3")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/dustin/go-humanize")) + (home-page "https://github.com/dustin/go-humanize") + (synopsis "Humane unit formatter") + (description "@code{go-humanize} provides formatters for units to human +friendly sizes. It converts boring ugly numbers to human-friendly strings and +back.") + (license license:expat))) From patchwork Fri Jul 9 16:19:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 31264 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 A6C3927BC78; Fri, 9 Jul 2021 17:26: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, 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 1E93D27BC81 for ; Fri, 9 Jul 2021 17:26:51 +0100 (BST) Received: from localhost ([::1]:48520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1tKz-0004Xd-Ud for patchwork@mira.cbaines.net; Fri, 09 Jul 2021 12:26:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tES-00062T-CN for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1tER-0005XD-80 for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1tER-0004Jx-0R for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 3/7] gnu: Add go-lukechampine-com-blake3. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49494@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.162584759516551 (code B ref 49494); Fri, 09 Jul 2021 16:20:02 +0000 Received: (at 49494) by debbugs.gnu.org; 9 Jul 2021 16:19:55 +0000 Received: from localhost ([127.0.0.1]:59580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEI-0004In-LQ for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:54 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tE8-0004Hk-RP for 49494@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=N+ONkxwwKVdC2+nbzQJ3oUYkdVU3gtd3YGxmZrs1jgc=; b=DdCHX3Hy1O5ctJ0fCfEM9sQ/R7 lwzIx2wwCz0g1jjvgbRSWYqHV2g0ufeO4dUh0LXKBbzXjRqqm5hC/t99XcvKa0RO9ZYUyq6UbUMgT cXJpzFGLUx+eqrCrThPsdJSSXCp74lAEJQYAwjrZZcrbinkYS00MFQXB6wCB51Tk7n1ecAQEx/0QZ SFyKHmv19MFTajrHS4mi4qe3FUSJeGkxuqqerM4rYeikinCCZZhW7KopE0tFb/0QqPrYqoqExowrk WAwcw8F249hMcM1sD1dW1VYb10Sg2sKnSjRgOJbWCZgSwwzdlpk+Em3Ca0NXMGlbP+VbgMQWEWkJd 2cABDRhA==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m1tE6-000ASF-K7; Fri, 09 Jul 2021 21:49:42 +0530 From: Arun Isaac Date: Fri, 9 Jul 2021 21:49:36 +0530 Message-Id: <20210709161940.12759-3-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210709161940.12759-1-arunisaac@systemreboot.net> References: <20210709161940.12759-1-arunisaac@systemreboot.net> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-lukechampine-com-blake3): 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 972989c84f..8eb93b9456 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8273,3 +8273,30 @@ the External Data Representation (XDR) standard protocol as specified in RFC friendly sizes. It converts boring ugly numbers to human-friendly strings and back.") (license license:expat))) + +(define-public go-lukechampine-com-blake3 + (package + (name "go-lukechampine-com-blake3") + (version "1.1.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lukechampine/blake3") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1yxdwp8dpnnq2wbwsxlkbq570i99sc6781y39czjxi9jh9z5nw55")))) + (build-system go-build-system) + (arguments + '(#:import-path "lukechampine.com/blake3")) + (propagated-inputs + `(("go-github-com-klauspost-cpuid" ,go-github-com-klauspost-cpuid))) + (home-page "https://pkg.go.dev/lukechampine.com/blake3") + (synopsis "Implementation of the BLAKE3 cryptographic hash function") + (description "@code{blake3} implements the BLAKE3 cryptographic hash +function. In addition to the pure-Go implementation, this package also +contains AVX-512 and AVX2 routines (generated by avo) that greatly increase +performance for large inputs and outputs.") + (license license:expat))) From patchwork Fri Jul 9 16:19:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 31266 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 BC50027BC81; Fri, 9 Jul 2021 17:36:41 +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 8135127BC78 for ; Fri, 9 Jul 2021 17:36:41 +0100 (BST) Received: from localhost ([::1]:45572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1tUW-00061x-Ia for patchwork@mira.cbaines.net; Fri, 09 Jul 2021 12:36:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tES-00062Z-Do for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1tER-0005XZ-TQ for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1tER-0004KC-QG for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 4/7] gnu: Add go-golang-org-x-term. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 16:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49494@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.162584759516565 (code B ref 49494); Fri, 09 Jul 2021 16:20:03 +0000 Received: (at 49494) by debbugs.gnu.org; 9 Jul 2021 16:19:55 +0000 Received: from localhost ([127.0.0.1]:59584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEJ-0004J1-AY for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:55 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tE8-0004Hm-TR for 49494@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nlTkpu6kDDivhpkqIGmhkPNYooxN6WnN/FwdgELEdT4=; b=QlByK9tK1FWmu6Uv8zCyXI+EL2 HUB/L4BdSqZz4HCdxI/sX9IMqScmRzP2rPGHAYi7Kim43ctufTzzOAhbH6/g8ZIV8OaYu1RrK4LCg /YSku8s6z7voFJCD3zBrEfiz4QU0NFKRZWFHXKsIJEeJq5DTpysxnngkqKrXeF8J/K9uHWqiRg6nJ K3mKFnVAZu9r5sF+a3EQj/Gj7Qmg0LppLmzdRV7FztA9ctrReHx1EDQRSma6zVcf6LXimcifI+gTU eHkAECmIGSiyW5rS/WX6oRR9wfjPvXnHaz8DtgmaCsB4M1cdjh7cI8lRF+NvDZ7bHAyyGulZcFAsP PHaPAcQg==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m1tE6-000ASF-O6; Fri, 09 Jul 2021 21:49:42 +0530 From: Arun Isaac Date: Fri, 9 Jul 2021 21:49:37 +0530 Message-Id: <20210709161940.12759-4-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210709161940.12759-1-arunisaac@systemreboot.net> References: <20210709161940.12759-1-arunisaac@systemreboot.net> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-golang-org-x-term): 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 8eb93b9456..673d206713 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8300,3 +8300,27 @@ function. In addition to the pure-Go implementation, this package also contains AVX-512 and AVX2 routines (generated by avo) that greatly increase performance for large inputs and outputs.") (license license:expat))) + +(define-public go-golang-org-x-term + (package + (name "go-golang-org-x-term") + (version "0.0.0-20210615171337-6886f2dfbf5b") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://go.googlesource.com/term") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0661w7dp2ak1k4ii90v6chw2x8a6g4sc5j0ba58qlplaj4k5l0xs")))) + (build-system go-build-system) + (arguments '(#:import-path "golang.org/x/term")) + (propagated-inputs + `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) + (home-page "https://pkg.go.dev/golang.org/x/term") + (synopsis "Go terminal/console support") + (description "@code{term} provides support functions for dealing with +terminals, as commonly found on Unix systems.") + (license license:bsd-3))) From patchwork Fri Jul 9 16:19:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 31262 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 768B527BC81; Fri, 9 Jul 2021 17:23: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 3AF8327BC78 for ; Fri, 9 Jul 2021 17:23:36 +0100 (BST) Received: from localhost ([::1]:37426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1tHr-0005Gj-9V for patchwork@mira.cbaines.net; Fri, 09 Jul 2021 12:23:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tES-00062h-HX for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1tES-0005Xu-AM for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1tES-0004KJ-7E for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 5/7] gnu: Add go-github-com-flynn-noise. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 16:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49494@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.162584759616573 (code B ref 49494); Fri, 09 Jul 2021 16:20:04 +0000 Received: (at 49494) by debbugs.gnu.org; 9 Jul 2021 16:19:56 +0000 Received: from localhost ([127.0.0.1]:59586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEJ-0004J8-Lu for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:55 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEA-0004Hn-7t for 49494@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2Z/82nCuVt+CbT9zOAc4Bdpuu9QO13AcJhAJ0jPT+5s=; b=aJ/A50ysifl0KIytUosszM30h7 U7HuVGgBftmrTQ2TMuMhqlByhB3OYDtWdQTLQJQgLMm738NIA4bOTL5Vg7a6P57Ga3GUNwr/3HYjV f3pEQZ1/7D/CgrO3LxCndluKPz6bEvCHNhLAajnQ3knGaiOKMY2KX1YAvUdag959saaS4/lqCQ02W sdPh5PeyFzWNO1P8CYAVcenVM70lEBG5papSTPsRFyzcumTP7BYmDUAibP5aqjCBRBZMqhGHFWksl xSFUIPpY8P5gFF3OnMqhNjx1eq1qlPgjhHQAR1YKvQl0wNj9zv08E1/tM3ijB+Y0l/9x7XEZUCVR9 CwGjZOVQ==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m1tE7-000ASF-4I; Fri, 09 Jul 2021 21:49:43 +0530 From: Arun Isaac Date: Fri, 9 Jul 2021 21:49:38 +0530 Message-Id: <20210709161940.12759-5-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210709161940.12759-1-arunisaac@systemreboot.net> References: <20210709161940.12759-1-arunisaac@systemreboot.net> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-flynn-noise): 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 673d206713..5a7f27bc91 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8324,3 +8324,31 @@ performance for large inputs and outputs.") (description "@code{term} provides support functions for dealing with terminals, as commonly found on Unix systems.") (license license:bsd-3))) + +(define-public go-github-com-flynn-noise + (package + (name "go-github-com-flynn-noise") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/flynn/noise") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1j6phxyqx06wcqxjpin696fkp85s76qcp3i2f7fv6q2fb6618f6y")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/flynn/noise")) + (propagated-inputs + `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) + (home-page "https://github.com/flynn/noise") + (synopsis "Go implementation of the Noise protocol framework") + (description "@code{noise} implements the Noise protocol framework. Noise +is a low-level framework for building crypto protocols. Noise protocols +support mutual and optional authentication, identity hiding, forward secrecy, +zero round-trip encryption, and other advanced features.") + (license license:bsd-3))) From patchwork Fri Jul 9 16:19:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 31261 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 3732027BC81; Fri, 9 Jul 2021 17:23:25 +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 E76CB27BC78 for ; Fri, 9 Jul 2021 17:23:24 +0100 (BST) Received: from localhost ([::1]:36576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1tHg-0004h2-0N for patchwork@mira.cbaines.net; Fri, 09 Jul 2021 12:23:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tES-00062a-DZ for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1tER-0005XX-Gp for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1tER-0004K4-Dg for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 6/7] gnu: Add go-github-com-klauspost-compress. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 16:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49494@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.162584759516558 (code B ref 49494); Fri, 09 Jul 2021 16:20:03 +0000 Received: (at 49494) by debbugs.gnu.org; 9 Jul 2021 16:19:55 +0000 Received: from localhost ([127.0.0.1]:59582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEI-0004Iu-Vy for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:55 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tE9-0004Ho-5G for 49494@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HZlzQApziDHevvV0UuzIq/82Mxj7j/t0P2hWCyLs4mE=; b=NWAtW9aHwOAEzQVFvx2xHQRZIp kxWCVqSMVk0rH483LxZFjSjNPLIdITbHyg0Phf+5fDrAky+p6jRKbJ4LuGunC7BqNtXxNhelOIy/X nmRAhNHWattW1l19RcIxe04zVx3eWNDTlYW4B+FpmiX3mhM5gEAUi7odkV9uc0M5mWeusCAVwWujG Xs3/UM2fcQXucAeJODfw0EQGMspEW2TYpiNfBHUMQ98wFVY4CPuOPwnP55DqdqaMB76/bOoygqmgb phR5sykTO4V9OQ4aer1Amaymn/zMF4ii8tdLoyDDGQDfbjJew1jwJ3ho6zvLOuIaEVPI6ks8dUDOw s2NrFvGA==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m1tE7-000ASF-CA; Fri, 09 Jul 2021 21:49:43 +0530 From: Arun Isaac Date: Fri, 9 Jul 2021 21:49:39 +0530 Message-Id: <20210709161940.12759-6-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210709161940.12759-1-arunisaac@systemreboot.net> References: <20210709161940.12759-1-arunisaac@systemreboot.net> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-klauspost-compress): 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 5a7f27bc91..ef54e15afc 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -67,6 +67,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages syncthing) #:use-module (gnu packages terminals) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) @@ -8352,3 +8353,39 @@ is a low-level framework for building crypto protocols. Noise protocols support mutual and optional authentication, identity hiding, forward secrecy, zero round-trip encryption, and other advanced features.") (license license:bsd-3))) + +(define-public go-github-com-klauspost-compress + (package + (name "go-github-com-klauspost-compress") + (version "1.13.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/klauspost/compress") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ydnf9rizlhm8rilh14674qqx272sbwbkjx06xn9pqvy6mmn2r3r")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/klauspost/compress" + #:phases + (modify-phases %standard-phases + (add-before 'reset-gzip-timestamps 'fix-permissions + (lambda* (#:key outputs #:allow-other-keys) + ;; Provide write permissions on gzip files so that + ;; reset-gzip-timestamps has sufficient permissions. + (for-each (lambda (file) + (chmod file #o644)) + (find-files (assoc-ref outputs "out") + (lambda (file stat) + (and (eq? 'regular (stat:type stat)) + (string-suffix? ".gz" file)))))))))) + (propagated-inputs + `(("go-github-com-golang-snappy" ,go-github-com-golang-snappy))) + (home-page "https://github.com/klauspost/compress") + (synopsis "Go compression library") + (description "@code{compress} provides various compression algorithms.") + (license license:bsd-3))) From patchwork Fri Jul 9 16:19:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 31263 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 0B23527BC81; Fri, 9 Jul 2021 17:23:56 +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 7C9EB27BC78 for ; Fri, 9 Jul 2021 17:23:55 +0100 (BST) Received: from localhost ([::1]:38274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1tIA-0005pM-Hb for patchwork@mira.cbaines.net; Fri, 09 Jul 2021 12:23:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tES-00063q-U6 for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1tES-0005YQ-NC for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1tES-0004KQ-Ju for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 7/7] gnu: Add nncp. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 16:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49494@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.162584760116583 (code B ref 49494); Fri, 09 Jul 2021 16:20:04 +0000 Received: (at 49494) by debbugs.gnu.org; 9 Jul 2021 16:20:01 +0000 Received: from localhost ([127.0.0.1]:59588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEJ-0004JG-W7 for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:20:00 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEA-0004Hq-DF for 49494@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Zj79aa9DBQHMyi7JorHjwzLQmQT+i/viFvzmXy+bw3Y=; b=aOKKPQ6qPNpAWe7x2mO9txNQw+ TjBIjurO6wIIj+IKQgzIxniSiQ2IkKs8HCXf5qlaGxsmH9ODmS51hb810ybOB6juALKmAi74jstP2 k3QgK99Nj0cBvtmVJNCFygFsKgxkJWW63/6gLPuMyFSIj+5owVi0jzFdf/7LFIt30hMuZ5QEKytz8 y6Y0V/yRrIeJAPvbeLlBdaPLYTNfsIrD57b8qbQ3Ahg+mN/kFWyzvSX7mCg4nnAh3VKvv5RPjJNRU n7RhxXSKQMMCBhOErwRzbc6S4o20Q/i39Lt+QvIzXk4WgePMyZN96oTfL0x8M3CO8oR9KxTEMam/J M6rVE4dA==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m1tE7-000ASF-Gu; Fri, 09 Jul 2021 21:49:43 +0530 From: Arun Isaac Date: Fri, 9 Jul 2021 21:49:40 +0530 Message-Id: <20210709161940.12759-7-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210709161940.12759-1-arunisaac@systemreboot.net> References: <20210709161940.12759-1-arunisaac@systemreboot.net> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/uucp.scm (nncp): New variable. --- gnu/packages/uucp.scm | 99 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) diff --git a/gnu/packages/uucp.scm b/gnu/packages/uucp.scm index 1bb4fdb975..2d4d1ae8d0 100644 --- a/gnu/packages/uucp.scm +++ b/gnu/packages/uucp.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Ludovic Courtès +;;; Copyright © 2021 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -17,6 +18,8 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages uucp) + #:use-module (gnu packages golang) + #:use-module (gnu packages texinfo) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) @@ -54,3 +57,99 @@ set of utilities for remotely transferring files, email and net news between computers.") (license gpl2+))) + +(define-public nncp + (package + (name "nncp") + (version "7.2.0") + (source + (origin + (method url-fetch) + (uri (string-append "http://www.nncpgo.org/download/nncp-" + version ".tar.xz")) + (sha256 + (base32 + "0xsh5zc6i8nbcsi06r65lpp26hz2zb4vh0pzbkivdd69hrxvknvh")) + (modules '((ice-9 ftw) + (guix build utils))) + (snippet + '(begin + ;; Unbundle dependencies. + ;; TODO: go.cypherpunks.ru was down at the time of + ;; packaging. Unbundle go.cypherpunks dependencies as well once it + ;; comes back online. + (for-each (lambda (file) + (unless (member file (list "." ".." "go.cypherpunks.ru")) + (delete-file-recursively (string-append "src/vendor/" file)))) + (scandir "src/vendor")) + ;; Delete built documentation. + (delete-file "doc/nncp.info") + #t)))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; tests fail + #:modules ((guix build gnu-build-system) + ((guix build go-build-system) #:prefix go:) + (guix build union) + (guix build utils)) + #:imported-modules (,@%gnu-build-system-modules + (guix build union) + (guix build go-build-system)) + #:phases + (modify-phases %standard-phases + (add-before 'unpack 'setup-go-environment + (assoc-ref go:%standard-phases 'setup-go-environment)) + (add-after 'unpack 'go-unpack + (lambda* (#:key source #:allow-other-keys) + ;; Copy source to GOPATH. + (copy-recursively "src" "../src/go.cypherpunks.ru/nncp/v7") + ;; Move bundled dependencies to GOPATH. + (for-each (lambda (dependency) + (rename-file (string-append "src/vendor/go.cypherpunks.ru/" + dependency) + (string-append "../src/go.cypherpunks.ru/" + dependency))) + (list "balloon" "recfile")) + ;; Delete empty bundled dependencies directory. + (delete-file-recursively "src/vendor"))) + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + ;; Set output directories. + (let ((out (assoc-ref outputs "out"))) + (setenv "BINDIR" (string-append out "/bin")) + (setenv "INFODIR" (string-append out "/share/info")) + (setenv "DOCDIR" (string-append out "/share/doc/nncp"))) + ;; Remove module flags. + (substitute* (list "bin/default.do" "test.do") + ((" -mod=vendor") "") + ((" -m") ""))))))) + (inputs + `(("go" ,go))) + (native-inputs + `(("texinfo" ,texinfo))) + (propagated-inputs + `(("go-github-com-davecgh-go-xdr" ,go-github-com-davecgh-go-xdr) + ("go-github-com-dustin-go-humanize" ,go-github-com-dustin-go-humanize) + ("go-github-com-flynn-noise" ,go-github-com-flynn-noise) + ("go-github-com-gorhill-cronexpr" ,go-github-com-gorhill-cronexpr) + ("go-github-com-hjson-hjson-go" ,go-github-com-hjson-hjson-go) + ("go-github-com-klauspost-compress" ,go-github-com-klauspost-compress) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) + ("go-golang-org-x-net" ,go-golang-org-x-net) + ("go-golang-org-x-term" ,go-golang-org-x-term) + ("go-lukechampine-com-blake3" ,go-lukechampine-com-blake3))) + (home-page "http://www.nncpgo.org/") + (synopsis "Store and forward utilities") + (description "NNCP (Node to Node copy) is a collection of utilities +simplifying secure store-and-forward files, mail and command exchanging. +These utilities are intended to help build up small size (dozens of nodes) +ad-hoc friend-to-friend (F2F) statically routed darknet delay-tolerant +networks for fire-and-forget secure reliable files, file requests, Internet +mail and commands transmission. All packets are integrity checked, end-to-end +encrypted, explicitly authenticated by known participants public keys. Onion +encryption is applied to relayed packets. Each node acts both as a client and +server, can use push and poll behaviour model. Multicasting areas, offline +sneakernet/floppynet, dead drops, sequential and append-only CD-ROM/tape +storages, air-gapped computers and online TCP daemon with full-duplex +resumable data transmission exists are all supported.") + (license gpl3)))