From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YHuGDLnSEGEYQAAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:01:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AH44CLnSEGG5YAAA1q6Kng (envelope-from ) for ; Mon, 09 Aug 2021 07:01:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 78B93140ED for ; Mon, 9 Aug 2021 09:01:12 +0200 (CEST) Received: from localhost ([::1]:41814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzHb-0003mO-AM for larch@yhetil.org; Mon, 09 Aug 2021 03:01:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzHS-0003m8-T9 for guix-patches@gnu.org; Mon, 09 Aug 2021 03:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzHS-0007qj-LA for guix-patches@gnu.org; Mon, 09 Aug 2021 03:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzHS-0003Uq-Eo for guix-patches@gnu.org; Mon, 09 Aug 2021 03:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH 01/31] gnu: Add ocaml-cohttp-lwt. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49867 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49867@debbugs.gnu.org Cc: pukkamustard Received: via spool by 49867-submit@debbugs.gnu.org id=B49867.162849243313371 (code B ref 49867); Mon, 09 Aug 2021 07:01:02 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:00:33 +0000 Received: from localhost ([127.0.0.1]:55404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzGy-0003Tb-U6 for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:00:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzGx-0003TM-9r for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:00:31 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 326D1240026 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:00:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492425; bh=B9QFaCliXlgbco6nwEzkJbeD5P0kA6+LYVj+iVjozBI=; h=From:To:Cc:Subject:Date:From; b=ZoKWp0vSE7azFCdNhEoEG5xf6eYuUWPFlfHxWBgndR/TD5iMBVg7wj4t12q0F5QwD w8ng8t0Ftzkkgk8ITvv6Ay9XzDOH0kV52MgTf5Vfe+fF448Nhzaxfzxvo+2XDdULyk Hiekh4oz8DDgck6yD/yvI1ThIl72JYlLnxRTbtmZ/93RSI25uiOgWHdIEr0T7reuNF b0yL+qF/NMIUibxt7Bl3cA6KIZCCNpuXEBMHFM1hxkJXZFCQNmoXxbOFpPXdy5Ef2F NPpwq1nD/+xRXgA9Q3x9ZwLiiaa7RGen/Dol46FOskDsDJm85TqHg4x1v3uJKgG0DM BRZn+tjVY3AIQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn60252kz6tmQ; Mon, 9 Aug 2021 09:00:23 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 06:59:42 +0000 Message-Id: <20210809070012.25327-1-pukkamustard@posteo.net> In-Reply-To: <86pmun5cp5.fsf@posteo.net> References: <86pmun5cp5.fsf@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628492473; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MvOUEzYJ/UT1f8VoYqx2OE00jWJUhrZQwxYOr6i5FLc=; b=VSYOObnaHI9FPEn4KLacaUc0xEmgc3Nngy7Or6j0ixHGyRil6dL4yQsLFCrz/STXrBSzCw t8EUH+HirBu7/5IR0pdFyfEjlXiP9NefJTFxFAHUOo7kxDAzBg+T5t0fX0CojfDWCkIaHu lIVuTB3imF1pxFCTNnsumKuLwrChvdwAYUcBeaDQKaqLubJ/lBLjghjes8N/UQJWuAsczQ v5UDW0OP5ShkpalV8dE7qTY1kfa66qs54W2QXg16rnPWKqSjczPEsD8K3YuTnWNCtWMNq6 7mWvoUTIpDKgkXMvvBQewVcq+bXTmUNiZgYwhW/mlLqLTZR7+ww3sq2UMRbAwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492473; a=rsa-sha256; cv=none; b=LJii+P4tiGwT6h5W8yZZgzHxQtC72jE1M/a7QJuWCUuT+eCmqhGnxs9BPVe4JlyNzAsLCi 9rNiIdYFIBiFq9nq5FCJ8i7WEhNY7EmxSi83IM/F4y4f/r9wfd48kwFdhju8vKfpHY4sun DwymGUcYAl0vrTuxbZleZeIsq7csa603kAjYH/pVT1zIatHdNYnx/SumshwtEvBIl9sX3G 5S1VCtr1xOrYEAqNy0NuXrCa1app5w62Etsb2mudTQSmfj7eFdHi6zwJUt4cK8/sRfsfWO /kFx5tttfuzmMAH5Qs54wDoErhQfgrmRblqqwcEB2kM7zcX7WMmOMQFmZ7MgYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ZoKWp0vS; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ZoKWp0vS; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 78B93140ED X-Spam-Score: 3.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: KRQBbyl9eBFK * gnu/packages/ocaml.scm (ocaml-cohttp-lwt): New variable. --- gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 112751ddec..6518f21f5e 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7323,6 +7323,30 @@ HTTP parser, and implementations using various asynchronous programming libraries.") (license license:isc))) +(define-public ocaml-cohttp-lwt + (package + (inherit ocaml-cohttp) + (name "ocaml-cohttp-lwt") + (arguments `(#:package "cohttp-lwt" + #:test-target ".")) + (propagated-inputs + `(("ocaml-cohttp" ,ocaml-cohttp) + ("ocaml-lwt" ,ocaml-lwt) + ("ocaml-sexplib0" ,ocaml-sexplib0) + ("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv) + ("ocaml-logs" ,ocaml-logs) + ("ocaml-uri" ,ocaml-uri))) + (synopsis "OCaml library for HTTP clients and servers using the Lwt +concurrency library") + (description "This is a portable implementation of HTTP that uses the Lwt +concurrency library to multiplex IO. It implements as much of the logic in an +OS-independent way as possible, so that more specialised modules can be +tailored for different targets. For example, you can install +@code{ocaml-cohttp-lwt-unix} or @code{ocaml-cohttp-lwt-jsoo} for a Unix or +JavaScript backend, or @code{ocaml-cohttp-mirage} for the MirageOS unikernel +version of the library. All of these implementations share the same IO logic +from this module."))) + (define-public js-of-ocaml (package (name "js-of-ocaml") -- 2.32.0