From patchwork Sat Feb 1 13:00:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Timotej Lazar X-Patchwork-Id: 20057 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 BA9D716716; Sat, 1 Feb 2020 13:01:37 +0000 (GMT) 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,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 ESMTP id 7AA5816714 for ; Sat, 1 Feb 2020 13:01:37 +0000 (GMT) Received: from localhost ([::1]:46054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixsP3-0001jb-2J for patchwork@mira.cbaines.net; Sat, 01 Feb 2020 08:01:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59034) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixsOY-0001ZC-SO for guix-patches@gnu.org; Sat, 01 Feb 2020 08:01:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixsOT-0007Ne-OM for guix-patches@gnu.org; Sat, 01 Feb 2020 08:01:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60672) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixsOT-0007MO-KU for guix-patches@gnu.org; Sat, 01 Feb 2020 08:01:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ixsOT-0005BH-K8 for guix-patches@gnu.org; Sat, 01 Feb 2020 08:01:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39381] [PATCH 1/3] gnu: Add wslay. References: <87wo96a2m7.fsf@araneo.si> In-Reply-To: <87wo96a2m7.fsf@araneo.si> Resent-From: Timotej Lazar Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Feb 2020 13:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39381 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39381@debbugs.gnu.org Cc: Timotej Lazar Received: via spool by 39381-submit@debbugs.gnu.org id=B39381.158056205419869 (code B ref 39381); Sat, 01 Feb 2020 13:01:01 +0000 Received: (at 39381) by debbugs.gnu.org; 1 Feb 2020 13:00:54 +0000 Received: from localhost ([127.0.0.1]:38404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixsOL-0005AP-UF for submit@debbugs.gnu.org; Sat, 01 Feb 2020 08:00:54 -0500 Received: from araneo.si ([90.157.193.204]:57524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixsOJ-0005AH-Pz for 39381@debbugs.gnu.org; Sat, 01 Feb 2020 08:00:52 -0500 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id 99b88488 for <39381@debbugs.gnu.org>; Sat, 1 Feb 2020 13:00:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20180623; bh=exrkOL18HpVu3CExkF8Iy prBEp8=; b=wcEDL7PV9Fo35Opq8qJ/UdkF/qhrKfj4YgvGjIJNJxH82zfLsm9cL LImf6wFDwpDAFN2JLATMNVudFEx+XRRu7KQ4vz7UtT60gxngzp1ZZE0gSGXyYnal VkV16BnN1lzYApH0EtoqQVHk3jxjwHXS4xYpKTqwphMABNB1GC8LMxZtmALhwNUx 4cdU7YXj9oXCcphJ6Ml1AFG5gFMkKTG15vA+YBYEdjf0rK9/9Vf8BtEUQIpf/yXD nVIMpt55iQKIG7eYUxtWVBIWJNsmG6zdiqCeY0zEtVGQC/zpZGK31H6gYYRBE2Ig SXApmOO2oyRh1tltndQOBkY85IeDIKDlw== Received: by araneo.si (OpenSMTPD) with ESMTPSA id f812aa25 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 1 Feb 2020 13:00:50 +0000 (UTC) From: Timotej Lazar Date: Sat, 1 Feb 2020 14:00:37 +0100 Message-Id: <20200201130039.9300-1-timotej.lazar@araneo.si> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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/web.scm (wslay): New variable. --- gnu/packages/web.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index d3ab28bcfc..f6ae958ae3 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2019 Hartmut Goebel ;;; Copyright © 2019 Jakob L. Kreuze ;;; Copyright © 2019 Florian Pelz +;;; Copyright © 2020 Timotej Lazar ;;; ;;; This file is part of GNU Guix. ;;; @@ -1095,6 +1096,36 @@ implementation that is simple, portable, flexible, lightweight, low level, and high performance.") (license license:bsd-3))) +(define-public wslay + (package + (name "wslay") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tatsuhiro-t/wslay.git") + (commit (string-append "release-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ak9a6hsanhys40yhv7c2gqkfghpm6jx36j1pnml8ajvgaky5q98")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("cunit" ,cunit) ; For tests. + ("libtool" ,libtool) + ("pkg-config" ,pkg-config) + ("python-sphinx" ,python-sphinx))) + (home-page "https://tatsuhiro-t.github.io/wslay/") + (synopsis "C WebSocket library") + (description "@code{Wslay} is an event-based C library for the WebSocket +protocol version 13, described in RFC 6455. Besides a high-level API it +provides callbacks for sending and receiving frames directly. @code{Wslay} +only supports the data transfer part of WebSocket protocol and does not +perform the opening handshake in HTTP.") + (license license:expat))) + (define-public libpsl (package (name "libpsl")