From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42345) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6pJg-0002Er-0c for guix-patches@gnu.org; Wed, 26 Feb 2020 00:33:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6pJe-0005rf-L1 for guix-patches@gnu.org; Wed, 26 Feb 2020 00:33:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6pJe-0005ra-I4 for guix-patches@gnu.org; Wed, 26 Feb 2020 00:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j6pJe-0002iH-GF for guix-patches@gnu.org; Wed, 26 Feb 2020 00:33:02 -0500 Subject: [bug#39796] [PATCH] gnu: Add guile-websocket. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:41776) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6pIr-0002BI-Rq for guix-patches@gnu.org; Wed, 26 Feb 2020 00:32:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6pIk-000345-LM for guix-patches@gnu.org; Wed, 26 Feb 2020 00:32:13 -0500 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:38279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6pIk-00030D-Di for guix-patches@gnu.org; Wed, 26 Feb 2020 00:32:06 -0500 Received: by mail-pl1-x633.google.com with SMTP id p7so822387pli.5 for ; Tue, 25 Feb 2020 21:32:06 -0800 (PST) Received: from virtualplaza ([205.175.97.30]) by smtp.gmail.com with ESMTPSA id gx18sm933480pjb.8.2020.02.25.21.31.57 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Feb 2020 21:31:57 -0800 (PST) From: Evan Straw Date: Tue, 25 Feb 2020 21:31:56 -0800 Message-ID: <87o8tlewxf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39796@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-guile-websocket.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: Add guile-websocket. From=20ba695ba2cbf27014e1ed95da8a0620988f03fa54 Mon Sep 17 00:00:00 2001 From: Evan Straw Date: Tue, 25 Feb 2020 12:08:46 -0800 Subject: [PATCH] gnu: Add guile-websocket. * gnu/packages/guile-xyz.scm (guile-websocket): New variable. =2D-- gnu/packages/guile-xyz.scm | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 37a5198e4e..758ed5aa53 100644 =2D-- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -23,6 +23,7 @@ ;;; Copyright =C2=A9 2019 swedebugia ;;; Copyright =C2=A9 2019 Amar Singh ;;; Copyright =C2=A9 2019 Timothy Sample +;;; Copyright =C2=A9 2020 Evan Straw ;;; ;;; This file is part of GNU Guix. ;;; @@ -3109,3 +3110,45 @@ currently a re-implementation of the lentes library = for Clojure. Lenses provide composable procedures, which can be used to focus, apply functions over, or update a value in arbitrary data structures.") (license license:gpl3+)))) + +(define-public guile-websocket + (let ((commit "c854e0f84a40d972cbd532bbb89c97ca0126a7cf")) + (package + (name "guile-websocket") + (version "0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "git://dthompson.us/guile-websocket.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "10r8384frlyrljjdyzilrh8hzi60v9hisx4fxjs7rmg9g01cs77k")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags + '("GUILE_AUTO_COMPILE=3D0") + #:phases + (modify-phases %standard-phases + ;; The package was developed for Guile 2.0 and has this version + ;; hardcoded in the configure.ac and Makefile.am files. Substit= ute + ;; 3.0 instead so it can support Guile 3.0. + (add-after 'unpack 'update-guile-version + (lambda _ + (substitute* "configure.ac" + (("2.0.9") "3.0.0")) + (substitute* "Makefile.am" + (("2.0") "3.0")) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (inputs + `(("guile" ,guile-next))) + (synopsis "Websocket server/client for Guile") + (description "Guile-websocket provides an implementation of the +WebSocket protocol as defined by RFC 6455.") + (home-page "https://git.dthompson.us/guile-websocket.git") + (license license:lgpl3+)))) =2D-=20 2.20.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6f/SZXb4DLdwy+VR9TDDtKKp8G0FAl5WAswACgkQ9TDDtKKp 8G2yCA/8CL+vFSF75FQsIFz5g+GM0Zd3EVzp/rzxd3tnW5IyXNp+qh0QXnd10rKo cPt+DZagBrTdsFR3ZU8vOnHbhlLsr+UmO+alIbY+KJkX6Byr1ZKZa7OgsFvYQcaW G5fTQHlthBQoYKi6MzMKs6STdTNxne766Mn3VhNoiscuM/OF4TyOAruzPjTTuSGU zkuQg/kPFON2X2bznBT10oWBjgus+Nk4lXDZgqbJg/kInyVVx1x97k4hR6C1/+G7 dhz577v3IPALv/Jq0ix/wxRReN+7IA7kb55ojq/qXOIX6Al4aSAqRMNctrcKY1iY 7hO0P2EJoQG2VelK6fPX2s/uO4ez2aqRQ9idqM/DNTQMxz3e0roU+IwMvn49qHHa BFpvlzuZ6bSGxa0M4eUpAx+rrs8LDPUNReSm6ax9aJTFvUe4QdccXzqqH/TGqPE9 +SOyL/vr/UKjNVu0Zz5tqNyrhyxJ1eHHFHVTa7EOzHrVPJnpEzF0XScQvPLHN+Is FXwtwKP/eXWmmTgVHCh6biALAWKHl+3ZZaHKXQIjKoU2ZdH1yWQ9s0U7TIQVrl5c gnyE4v3m61ShsnYXclyCa8Gqbjqdi6X9VaYA8tfJGhSMXDFRCRxrosVl1KwvfpVl 7MX6ublu1ex2BnKQpqWJG6MEzfatw4o5c9gEE1D7vWuu/IMXi8o= =wD3H -----END PGP SIGNATURE----- --==-=-=--