From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GE6NAjZX1GAcywAAgWs5BA (envelope-from ) for ; Thu, 24 Jun 2021 11:58:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ACfWOTVX1GAXVQAAB5/wlQ (envelope-from ) for ; Thu, 24 Jun 2021 09:58: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 53DDC251D7 for ; Thu, 24 Jun 2021 11:58:13 +0200 (CEST) Received: from localhost ([::1]:46124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwM7g-0001ra-Dh for larch@yhetil.org; Thu, 24 Jun 2021 05:58:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwM7W-0001ie-Cj for guix-patches@gnu.org; Thu, 24 Jun 2021 05:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwM7W-0005Kc-5L for guix-patches@gnu.org; Thu, 24 Jun 2021 05:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwM7W-0002CT-5e for guix-patches@gnu.org; Thu, 24 Jun 2021 05:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49203] [PATCH 2/2] gnu: Add ocaml-cohttp. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Jun 2021 09:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49203@debbugs.gnu.org Received: via spool by 49203-submit@debbugs.gnu.org id=B49203.16245286698422 (code B ref 49203); Thu, 24 Jun 2021 09:58:02 +0000 Received: (at 49203) by debbugs.gnu.org; 24 Jun 2021 09:57:49 +0000 Received: from localhost ([127.0.0.1]:42487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwM7J-0002Bm-G7 for submit@debbugs.gnu.org; Thu, 24 Jun 2021 05:57:49 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:53800 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwM7G-0002BN-Qq for 49203@debbugs.gnu.org; Thu, 24 Jun 2021 05:57:47 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1624528661; bh=JqYoe38PBnlbPmDXxdlzabMUgS03y5kF49xX2QqCEks=; h=From:To:Subject:In-Reply-To:References:Date; b=XD1lkzrrR4VKDMujLu1U95hfFfjo5QTKL9xFQMErXDacr6dT4DM277DOXgp9w1ZM4 nCx/UI30M4RHC8nw4jHluabEJ2iekJdgZW5HppM4oNGpvgWBpHyzh/dpCd5yGcoz2p ennY81Ea6idtC+9GS0oRVKgLcQhit6pEcK973fwo= In-Reply-To: References: Message-Id: <6ad9af73d51482a637598cc98b4fbc153cd99867.1624528372.git.public@yoctocell.xyz> Date: Thu, 24 Jun 2021 11:57:40 +0200 MIME-Version: 1.0 Content-Type: text/plain 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=1624528693; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=2gVYxKe5kjmh2/3XpvN7qdUfXYURdNFfZcqtFb/EOKQ=; b=UupKxo5wiX/bw0GD6dg+3zzJg5VJj/elDX8/kKxFQ3jdmXdm4WwgWtkEjbpwi3KCkfowpG slcdHww6oAfL/1JLm3g2UUBdDmTkpqOFJ1jz7AcVZq+OGGzbG66gDPvWxYHg4Vbmx/LJlK UXM49/PrPyt0AwjomRZQlGDk0k+HmKrsoCySAasx8tQKLOS3/v3KHkxc4Ytqo6JYEZE9cY B+seYah9hDLiGOgf8FaajHtjJhDaT/qHLRNxXnfOMzSQezVoNR73+VitJQD3zd8NKeRp57 OxoMS3AjHiW9zLNCu6QzTSVIGEmsW3hb4NfT9UwxPzJEB7CKwH3bDFyymf2tqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624528693; a=rsa-sha256; cv=none; b=TNBBrefwGqMTHARytCCgdaUjnkgG9zWT8es7+oUQb6pKVkCf72XBnW5iTczz+mgMtlze8z wyt3DLmYGACgJlXJRcEhklLWljrWnZh71uTYx4H7qCFuLCQOccHw9xoScwcC54BRWP7pOU P4ucm36vvaxNsOF6sfuRfcQCtaAhsy/9/qu9QH2brp3Ob2Wr7IqLbJA/gxj2E1ferY/g7i iwUh8lT7xd0sjeRE67f7wl0WW3P/YgYF9saZqS77CyfMs9eLZAw4D8sxVkdFZ13hUvbxpf 44pAc4DzRBBXgzHlSD0egNlNQgvrerHYGUV+FZSLgEo7Z2vcg06W8IgUBurNaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=XD1lkzrr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 1.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=XD1lkzrr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 53DDC251D7 X-Spam-Score: 1.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: DP9exdqCQjJB * gnu/packages/ocaml.scm (ocaml-cohttp): New variable. --- gnu/packages/ocaml.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 681d77dd81..5e9883d604 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7099,6 +7099,44 @@ up to OCaml 4.08.") (description "This package adds S-exp support to @code{ocaml-uri}.") (license license:isc))) +(define-public ocaml-cohttp + (package + (name "ocaml-cohttp") + (version "4.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/ocaml-cohttp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02d7417yy1i62by368w3wyw3756047pbrw69spcvz3cd1z7vqaci")))) + (build-system dune-build-system) + (arguments + '(#:package "cohttp" + #:test-target "cohttp_test/src")) + (propagated-inputs + `(("ocaml-re" ,ocaml-re) + ("ocaml-uri" ,ocaml-uri) + ("ocaml-uri-sexp" ,ocaml-uri-sexp) + ("ocaml-sexplib0" ,ocaml-sexplib0) + ("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv) + ("ocaml-stringext" ,ocaml-stringext) + ("ocaml-base64" ,ocaml-base64))) + (native-inputs + `(("ocaml-fmt" ,ocaml-fmt) + ("ocaml-jsonm" ,ocaml-jsonm) + ("ocaml-alcotest" ,ocaml-alcotest))) + (home-page "https://github.com/mirage/ocaml-cohttp") + (synopsis "OCaml library for HTTP clients and servers") + (description + "Cohttp is an OCaml library for creating HTTP daemons. It has a portable +HTTP parser, and implementations using various asynchronous programming +libraries.") + (license license:isc))) + (define-public js-of-ocaml (package (name "js-of-ocaml") -- 2.32.0