From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gIIYCHZKuGDwYQEAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 05:20:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OO6jA3ZKuGALfgAAbx9fmQ (envelope-from ) for ; Thu, 03 Jun 2021 03:20:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 96E071AC62 for ; Thu, 3 Jun 2021 05:20:21 +0200 (CEST) Received: from localhost ([::1]:59122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lodu7-0007E1-GI for larch@yhetil.org; Wed, 02 Jun 2021 23:20:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lodtr-0007BJ-Ix for guix-patches@gnu.org; Wed, 02 Jun 2021 23:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lodtr-0001fT-AM for guix-patches@gnu.org; Wed, 02 Jun 2021 23:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lodtr-0001BJ-5n for guix-patches@gnu.org; Wed, 02 Jun 2021 23:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42380] [PATCH v4 2/9] gnu: Add go-github-com-agl-ed25519. Resent-From: =?UTF-8?Q?Andr=C3=A9?= Batista Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Jun 2021 03:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42380 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 42380@debbugs.gnu.org Cc: =?UTF-8?Q?Andr=C3=A9?= Batista Received: via spool by 42380-submit@debbugs.gnu.org id=B42380.16226903704398 (code B ref 42380); Thu, 03 Jun 2021 03:20:03 +0000 Received: (at 42380) by debbugs.gnu.org; 3 Jun 2021 03:19:30 +0000 Received: from localhost ([127.0.0.1]:41742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lodtK-00018s-Ew for submit@debbugs.gnu.org; Wed, 02 Jun 2021 23:19:30 -0400 Received: from mx1.riseup.net ([198.252.153.129]:35696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lodtJ-00018X-5x for 42380@debbugs.gnu.org; Wed, 02 Jun 2021 23:19:29 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FwWMv6FBdzDqgb for <42380@debbugs.gnu.org>; Wed, 2 Jun 2021 20:19:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1622690363; bh=C18qLTrrDRys1b/YaxSfp+/wfv6ougr7XOIAxLbtrk0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NV3fHlGH+56DCFuPJFiPrAFw9eIT50SwrTiaY18QrdZlhYONb4V9mJ7geEcUyGUNu GOpgDNzzPAFVYADZdzzU9F2RQtspZsW5NDAnmqvY0pJlPdTq1LnDmM4YuASGn7FPMG GI3/Jd9urpn/CMU9hsrlc8NHePEUhtFCphvh5zGo= X-Riseup-User-ID: 56FF0D3A6E5663DCE1FEA5751F3529B5F0F04C10969B6C90FA8C414C17798B2C Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FwWMt6qZLz5vks; Wed, 2 Jun 2021 20:19:22 -0700 (PDT) From: =?UTF-8?Q?Andr=C3=A9?= Batista Date: Thu, 3 Jun 2021 00:17:39 -0300 Message-Id: <99af7879a93ec3f94030b3e3cb266949f67d824b.1622687706.git.nandre@riseup.net> In-Reply-To: References: <20201007155154.GA5226@andel> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622690421; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=c9RSeQpfD5fnwA26I24hSSV1/gIHcXkHB1XBqqnfwiM=; b=fE0uCbk+155MrNFKeetPDkAwPcLdW3FeJaAFyCAJuXYy8t0tQwIQpvXu1zeLoE986u0gGA z5GtrRiSeIdBGRDRdfE6lu6QqZR8odCkeSCJeO2B6RwggZ9hUG+OFBLEPz7aHQbf1JnQvL FNnECFagoE0RZiHxtuqh1D49jwSOAlOm2tOIgn2UlAl8mOKL19lbaZrAQc5v31BJxV1v2l wkw9QLTSDmNTcaD27mGHaNTJpo0bXxojF7p+cxjnx5FA8kVqEiFIWrwWiO1h50O3qHtBWw wQgdr2nzLzG2qKsxKFRESucDaoSfNtwftLOnReVc1aS2R7u9DTDFHTKIPIHloQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622690421; a=rsa-sha256; cv=none; b=MsQ6703Z0eQ22JytI2LdHHO3pjxjPbnAJmWp1uFnSZiarHhz8QHkYI4tiOE8oHCXPmVHZx qkPtqnPqY9nxZzN1uMYoLfrCQcp7dStWt/OvSRo5Ma32lY3b7LXX0iYuZfyAbvmgc9QpcF irALYz4+UiBfgKyu0CqYqLDPpotzBL8+AoC5M8mOtLwS+2BrAxfX1y0o85wV2SmphkspHS s/VMeTo0eUEsivbdlojvuM86DWtovxLH4qUo9HTdHBoQXjGBgZ8Nj38gYeP4/NxKnvDjnB 4I7oyfrSIDPxL+LEsQy4lG6UgD53rAtPNZuRl1uXnCZj4HDNJ+vKzQif4UW8qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=NV3fHlGH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=NV3fHlGH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 96E071AC62 X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: +QDvvoHBDD6u * gnu/packages/golang.scm (go-github-com-agl-ed25519): New variable. diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 940f38af76..2569d450b2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7058,3 +7058,41 @@ Go.") Transports are a means of connecting to the Tor Network from places where it is censored.") (license license:cc0))) + +(define-public go-github-com-agl-ed25519 + (let ((commit "c4161f4c7483313562781c61b9a20aba73daf9de") + (revision "0")) + (package + (name "go-github-com-agl-ed25519") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/agl/ed25519") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1wjlbzi0w63rmlzgk3amw274wsl0zhcn4yx2lraffbkhqappahxc")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/agl/ed25519" + #:phases + (modify-phases %standard-phases + (add-before 'reset-gzip-timestamps 'make-files-writable + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (for-each (lambda (file) (chmod file #o644)) + (find-files out "\\.gz")) + #t)))))) + (home-page "https://github.com/agl/ed25519") + (synopsis "Go library for ed25519 public-key signatures") + (description "This library is a Go implementation of ed25519 public-key +signature system which was designed to be faster than previous digital signature +systems without sacrificing security. It is currently used in the +implementation of obfs4 and should be not be used on newer projects since it +is unmaintained. Newer software should use x-crypto instead.") + ;; License file is referred but it is missing. Probably because the + ;; author decided to discontinue the project. + (license (license:non-copyleft "file://ed25519.go"))))) -- 2.31.1