From patchwork Thu Jun 3 03:17:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Batista?= X-Patchwork-Id: 29810 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 A6E9027BC78; Thu, 3 Jun 2021 04:20: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 5247127BC81 for ; Thu, 3 Jun 2021 04:20:45 +0100 (BST) Received: from localhost ([::1]:59948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loduW-0007v3-CO for patchwork@mira.cbaines.net; Wed, 02 Jun 2021 23:20:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lodts-0007Cr-DB for guix-patches@gnu.org; Wed, 02 Jun 2021 23:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lodts-0001fi-4Z for guix-patches@gnu.org; Wed, 02 Jun 2021 23:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lodts-0001BY-05 for guix-patches@gnu.org; Wed, 02 Jun 2021 23:20:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42380] [PATCH v4 4/9] gnu: Add go-github-com-dchest-uniuri. Resent-From: =?utf-8?b?QW5kcsOp?= 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?b?QW5kcsOp?= Batista Received: via spool by 42380-submit@debbugs.gnu.org id=B42380.16226903804434 (code B ref 42380); Thu, 03 Jun 2021 03:20:03 +0000 Received: (at 42380) by debbugs.gnu.org; 3 Jun 2021 03:19:40 +0000 Received: from localhost ([127.0.0.1]:41748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lodtT-00019R-U8 for submit@debbugs.gnu.org; Wed, 02 Jun 2021 23:19:40 -0400 Received: from mx1.riseup.net ([198.252.153.129]:43380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lodtS-000192-J5 for 42380@debbugs.gnu.org; Wed, 02 Jun 2021 23:19:38 -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 4FwWN524LbzDqgb for <42380@debbugs.gnu.org>; Wed, 2 Jun 2021 20:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1622690373; bh=oHcML74qaAh7gacIWbJnoxuSAmKRzwbd6wUWR45VWjs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PuA5SwIiTTMUx+7mXbI3PqO8l1OnlH9wC0l79Ltf+V5vVL4B6OE8XYXbAr+Sb0ZW9 QtnCgsG+NARHLHagM3ls/IlDngSY7yzBQEmq6ipa+n6tFmHevLjp9Zy9bsS9C4TR/a 4FXKEP2m9mk4e+VxxQa7eHcFYEBlOW1/n0ZhJX84= X-Riseup-User-ID: 1A6E9F68E556D246A4CA6DDF1DF54D30FAAE58AA97AE9A2A4F58ED0724E528F5 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FwWN42lcLz5vks; Wed, 2 Jun 2021 20:19:32 -0700 (PDT) From: =?utf-8?b?QW5kcsOp?= Batista Date: Thu, 3 Jun 2021 00:17:41 -0300 Message-Id: In-Reply-To: References: <20201007155154.GA5226@andel> 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-dchest-uniuri): New variable. diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 037163766d..08b5b6ba9b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7123,3 +7123,28 @@ Pseudo Random Function which is suitable for usage in message authentication codes and was based on the design created by Jean-Philippe Aumasson and Daniel J. Bernstein. ") (license license:cc0)))) + +(define-public go-github-com-dchest-uniuri + (let ((commit "8902c56451e9b58ff940bbe5fec35d5f9c04584a") + (revision "0")) + (package + (name "go-github-com-dchest-uniuri") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dchest/uniuri") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1x5bsbm1nlphsv96zd0rbclfaa1swpz5bp14x7s5dbxp0awk2gd4")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/dchest/uniuri")) + (home-page "https://github.com/dchest/uniuri") + (synopsis "Go library for random URIs") + (description "Package uniuri generates random strings good for use in +Universal Resource Identifiers to uniquely identify objects.") + (license license:cc0))))