guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/65: gnu: go-github-com-gorilla-websocket: Move to (gnu packages golan


From: guix-commits
Subject: 08/65: gnu: go-github-com-gorilla-websocket: Move to (gnu packages golang-web).
Date: Wed, 3 Jan 2024 16:51:12 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 13ab4abe98f1a88256d4ecd9b3ee3cb026515f4e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Nov 29 22:34:46 2023 +0000

    gnu: go-github-com-gorilla-websocket: Move to (gnu packages golang-web).
    
    * gnu/packages/golang.scm (go-github-com-gorilla-websocket): Move from
    here...
    * gnu/packages/golang-web.scm: ...to here.
    
    * gnu/packages/ipfs.scm: Add (gnu packages golang-web) module.
    
    Change-Id: I844738ec0b178a6a1746b01659c93a20919c2736
---
 gnu/packages/golang-web.scm | 23 +++++++++++++++++++++++
 gnu/packages/golang.scm     | 21 ---------------------
 gnu/packages/ipfs.scm       |  1 +
 3 files changed, 24 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 79a69bc842..0ca70cec38 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
 ;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2022 muradm <mail@muradm.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -161,6 +162,28 @@ the parse trees produced by the html package.")
 incoming requests with their respective handler.")
     (license license:bsd-3)))
 
+(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 "Fast WebSocket implementation for Go")
+    (description "Gorilla WebSocket is a Go implementation of the WebSocket
+protocol.")
+    (license license:bsd-2)))
+
 (define-public go-github-com-puerkitobio-goquery
   (package
     (name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 52168b93cb..9fe55bc551 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12909,27 +12909,6 @@ to use in various HTML contexts and with various DOM 
APIs.")
 using shell-style rules for quoting and commenting.")
     (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 "Fast WebSocket implementation for Go")
-    (description "Gorilla WebSocket is a Go implementation of the WebSocket 
protocol.")
-    (license license:bsd-2)))
-
 (define-public go-github-com-sourcegraph-jsonrpc2
   (package
     (name "go-github-com-sourcegraph-jsonrpc2")
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index a4c0613e40..fc66582c8a 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -30,6 +30,7 @@
   #:use-module (guix build-system go)
   #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-check)
+  #:use-module (gnu packages golang-web)
   #:use-module (gnu packages python)
   #:use-module (gnu packages shells)
   #:use-module (gnu packages syncthing))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]