From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cMKvJ28/CmE0kwAAgWs5BA (envelope-from ) for ; Wed, 04 Aug 2021 09:19:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SGJpI28/CmEnDgAA1q6Kng (envelope-from ) for ; Wed, 04 Aug 2021 07:19:11 +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 5BBE9AC2C for ; Wed, 4 Aug 2021 09:19:11 +0200 (CEST) Received: from localhost ([::1]:59152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBBBG-0006TH-Eq for larch@yhetil.org; Wed, 04 Aug 2021 03:19:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBBAD-0004Zo-58 for guix-patches@gnu.org; Wed, 04 Aug 2021 03:18:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBBAC-0005t2-RK for guix-patches@gnu.org; Wed, 04 Aug 2021 03:18:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBBAC-0002st-N8 for guix-patches@gnu.org; Wed, 04 Aug 2021 03:18:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH 29/29] gnu: Add ocaml-cohttp-lwt-unix Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Aug 2021 07:18:04 +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.162806144210984 (code B ref 49867); Wed, 04 Aug 2021 07:18:04 +0000 Received: (at 49867) by debbugs.gnu.org; 4 Aug 2021 07:17:22 +0000 Received: from localhost ([127.0.0.1]:42472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBB9W-0002r1-55 for submit@debbugs.gnu.org; Wed, 04 Aug 2021 03:17:22 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBB9K-0002kg-54 for 49867@debbugs.gnu.org; Wed, 04 Aug 2021 03:17:11 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id F2342240029 for <49867@debbugs.gnu.org>; Wed, 4 Aug 2021 09:17:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628061424; bh=D+Lt8V1F2iuTGfYu9PsDhBlpKfSDr/fVTW6FZNuHH7E=; h=From:To:Cc:Subject:Date:From; b=VRDQvfkHCYr39MvrOJ1SvX8CXHx+IVOpVVtQF+45WF467iXn2sdCCScVQKLaiKj1Z 8bNpQ94egKtS6479KaYV3VesXONiwNxq/CMtqlajrxlidp130OkcCsz5Q2OzGBeTdT 2ESyUDcGq6xw7aG9Mst5AmwA8eZRQSEbzjJS7t3kN81b/ugC8waJccpU5itxSh6FXz CIQCwpO500UX9G78sDN9CT6BYKUJ6H/Xul48c6k1tSeBywzX1neT8cZQ+FfRo3fMV/ Cw1LlxMxfo3d2DCI1jbD0tU+YsZHqCSSL3J2OPGcPMdtg8Dq53ZQid0rjQH5Vwo1b+ +wtGfkGwY4GRQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GfjjW3LVlz6tmF; Wed, 4 Aug 2021 09:17:03 +0200 (CEST) From: pukkamustard Date: Wed, 4 Aug 2021 07:15:45 +0000 Message-Id: <20210804071545.21181-29-pukkamustard@posteo.net> In-Reply-To: <20210804071545.21181-1-pukkamustard@posteo.net> References: <20210804071545.21181-1-pukkamustard@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=1628061551; 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=Pmmgt4Ikc8rYA0b5k14vJXB87/RjO+z7SSE+VHkqzVM=; b=Acmw/JmYeninlYDtB+/t0tQsxRR29gfn32MrZmIagLxXQOzoU9C1R0Uo/0vhJJbzVNBAV1 Qan2zUwLjBScbKp1ddbiQfm7hcazt3VLEalo3HfM3S0UebXXSOEakr7bRlPUzeuuxeaFHy 6y6yXMAu2qWF+wkuxnrEkQ5TO0HFi9t0/lR+pJCqF/iXopNgboVIcCP3SEWrUvk/FC+FDe 1A/M6pnXl132mWVoLeckMf8bFrkaHoYE07B2tQpAUVZB4Sg/syon+KrQo2/0zqqJ5kA0i9 C/Vxcqz/++lVWautpRpeiMv5ls+QDK9TvTJjs0/wZSySLGLilVsk37GvGBFeng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628061551; a=rsa-sha256; cv=none; b=cv9frqdFyMoMJ7IMFrIs0maXHrOr6Ki/kBGzbyil7YjIzr8aWBaBrPYijd5iPaCSPj8jA9 oJOZ1Sswe4pn//SbwWkSmYIo4ZPqarz7jIsw1qwhKJo+KZwthwL6KQfsEnKiNDsyY0LUBc TlYuQ/Xvr2d+Kc+wZf1KVTKi90K6c2TNfknEbpJ8rMYUdNxNz2p6eMVtcOIsOzEv9wLVgQ JipUI1HlwYrZnnDXwi/dCUtzGukJoTdFKBG7CTrgNiuPW0ImWGNdQkGVoVmD+VA+dLeTgL OSuMR8m/mvJPw1HitCEG7OxzgkB19EwENGXenPL0Ou0+L0lMR2bz/0HfzEaxwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=VRDQvfkH; 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.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=VRDQvfkH; 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: 5BBE9AC2C X-Spam-Score: 3.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: Ed0ZF8Xd5ACI * gnu/packages/ocaml.scm (ocaml-cohttp-lwt-unix): New variable. --- gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index d9e84cd7ad..db195996c9 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7248,6 +7248,29 @@ 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 ocaml-cohttp-lwt-unix + (package + (inherit ocaml-cohttp) + (name "ocaml-cohttp-lwt-unix") + (arguments `(#:package "cohttp-lwt-unix" + ;; tests require network + #:tests? #f)) + (propagated-inputs + `(("ocaml-conduit-lwt" ,ocaml-conduit-lwt) + ("ocaml-conduit-lwt-unix" ,ocaml-conduit-lwt-unix) + ("ocaml-cmdliner" ,ocaml-cmdliner) + ("ocaml-magic-mime" ,ocaml-magic-mime) + ("ocaml-logs" ,ocaml-logs) + ("ocaml-fmt" ,ocaml-fmt) + ("ocaml-cohttp-lwt" ,ocaml-cohttp-lwt) + ("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv) + ("ocaml-lwt" ,ocaml-lwt) + ("ocaml-lwt-ssl" ,ocaml-lwt-ssl))) + (native-inputs `(("ocaml-ounit" ,ocaml-ounit))) + (synopsis "OCaml HTTP implementation for Unix and Windows using Lwt") + (description "An OCaml implementation of an HTTP client and server for +Unix and Windows using the Lwt concurrency library."))) + (define-public ocaml-magic-mime (package (name "ocaml-magic-mime") -- 2.32.0