From patchwork Mon Jun 20 04:22:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: muradm X-Patchwork-Id: 3255 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 DCB6927BBEB; Mon, 20 Jun 2022 05:23:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9915327BBE9 for ; Mon, 20 Jun 2022 05:23:16 +0100 (BST) Received: from localhost ([::1]:41364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o38wV-0001iX-OE for patchwork@mira.cbaines.net; Mon, 20 Jun 2022 00:23:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o38wI-0001hz-Ix for guix-patches@gnu.org; Mon, 20 Jun 2022 00:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o38wI-00075g-AD for guix-patches@gnu.org; Mon, 20 Jun 2022 00:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o38wI-0006Y9-4c for guix-patches@gnu.org; Mon, 20 Jun 2022 00:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56096] [PATCH v2 1/3] gnu: golang: Add go-github-com-gorilla-websocket 1.5.0. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Jun 2022 04:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56096@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 56096-submit@debbugs.gnu.org id=B56096.165569896625126 (code B ref 56096); Mon, 20 Jun 2022 04:23:02 +0000 Received: (at 56096) by debbugs.gnu.org; 20 Jun 2022 04:22:46 +0000 Received: from localhost ([127.0.0.1]:53690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o38w2-0006XB-BB for submit@debbugs.gnu.org; Mon, 20 Jun 2022 00:22:46 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:43574 helo=nomad-cl1.muradm.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o38vy-0006Wj-7h for 56096@debbugs.gnu.org; Mon, 20 Jun 2022 00:22:44 -0400 Received: from localhost ([127.0.0.1]:35124) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1o38th-0004ge-Hn; Mon, 20 Jun 2022 04:20:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; 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=qTAtZ+095gXYyyN3goMAWkgGuWozrl52GyZpq6vLNKs=; b=JHX6jjiZkbuZFje75j/MOh3rPz /kC4x56uUYw4hIH/KKuab+4RxJN2FW1e7zriLsb5hLPNoM2K3T8u0o9MEJxFtWZVfBaxNfRxKxrnW ZnOWNU5Y+LkiSHkOFkPA4NEfUZjwLIpXRTbvBabvgA/ozkACIMV+/TwU3R+Yx1FZilRGpMW92U2dL 5tHAeey/1KILClBFapbWvigy4C6YjXfA2uavUgeOZQgUG767tOXtt6GkJ3+2fqghkMM9UiPlpg9Y4 Dnqp0m0WPND0Cr63lfNTpoHjiaqNyVioiTSffweqTv3U7Rqa4PB5U8vW1pufdo5XMl4eQ/iWDWteb i3D0Vpl/0SrIh7oCVh05aGSgGbOHVvK0o2vHVZhbzTBMVWqayNIygzw9CQC44g/t6JGSMKZkv1uCT fz4m4V974WQT+Xnq38hk5qmrGUYQr8Mtujcs0b2yCU9MRv0mZPtmSJLgUxROHsr6Hk1Z7AJcFe+Fs zKZ15HbNQWaBreDlANCdAXeY; Received: from muradm by localhost with local (Exim 4.95) (envelope-from ) id 1o38vw-0004Pn-Fh; Mon, 20 Jun 2022 07:22:40 +0300 From: muradm Date: Mon, 20 Jun 2022 07:22:37 +0300 Message-Id: <20220620042239.16958-2-mail@muradm.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220620042239.16958-1-mail@muradm.net> References: <58f8d4a88989ed4fcb9617812fbb4de77ec35b5d.camel@telenet.be> <20220620042239.16958-1-mail@muradm.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-gorilla-websocket): New variable. --- gnu/packages/golang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 296f0b8b07..b6960f2a26 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2021 Philip McGrath ;;; Copyright © 2021 Lu Hui ;;; Copyright © 2022 Pier-Hugues Pellerin +;;; Copyright © 2022 muradm ;;; ;;; This file is part of GNU Guix. ;;; @@ -9843,3 +9844,24 @@ (define-public go-github-com-google-go-jsonnet production-ready implementation, compatible with the original Jsonnet C++ implementation.") (license license:asl2.0))) + +(define-public go-github-com-gorilla-websocket + (package + (name "go-github-com-gorilla-websocket") + (version "1.5.0") + (home-page "https://github.com/gorilla/websocket") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xrr6snvs9g1nzxxg05w4i4pq6k1xjljl5mvavd838qc468n118i")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/gorilla/websocket")) + (synopsis "A fast, well-tested and widely used WebSocket implementation for Go.") + (description "Gorilla WebSocket is a Go implementation of the WebSocket protocol.") + (license license:bsd-2)))