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 2CviKE/CmGC3VgEAgWs5BA (envelope-from ) for ; Mon, 10 May 2021 07:19:11 +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 uAd2JE/CmGD7bgAAB5/wlQ (envelope-from ) for ; Mon, 10 May 2021 05: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 2DBB5BE38 for ; Mon, 10 May 2021 07:19:11 +0200 (CEST) Received: from localhost ([::1]:39298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfyJy-0003LQ-Av for larch@yhetil.org; Mon, 10 May 2021 01:19:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfyJ9-00009n-6q for guix-patches@gnu.org; Mon, 10 May 2021 01:18:19 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfyJ8-0003ea-Ti for guix-patches@gnu.org; Mon, 10 May 2021 01:18:18 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfyJ8-0000WY-PY for guix-patches@gnu.org; Mon, 10 May 2021 01:18:18 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47768] [PATCH v2 36/43] gnu: Add ocaml-angstrom. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 May 2021 05:18:18 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47768@debbugs.gnu.org Cc: pukkamustard , divoplade , Maxime Devos Received: via spool by 47768-submit@debbugs.gnu.org id=B47768.16206238841723 (code B ref 47768); Mon, 10 May 2021 05:18:18 +0000 Received: (at 47768) by debbugs.gnu.org; 10 May 2021 05:18:04 +0000 Received: from localhost ([127.0.0.1]:57051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfyIt-0000RW-Sl for submit@debbugs.gnu.org; Mon, 10 May 2021 01:18:04 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfyIT-0000KC-Er for 47768@debbugs.gnu.org; Mon, 10 May 2021 01:17:38 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 0AD442400E5 for <47768@debbugs.gnu.org>; Mon, 10 May 2021 07:17:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620623857; bh=t3Gpji5qIBzxidODrICjFhJoQckcv7gfWrcgz0vOSqE=; h=From:To:Cc:Subject:Date:From; b=N2L8dbmrp6baW0vr51X34bGQ8d4NzlaQcFqDSfjGyv24CfI2mxLvCv5QG5VUsbH4p CgD4KFPQ603CKwOa7kC3sMWdTOc27BfV1YG8fHBexHe7KA66x5p5Q5JJg3dNdZ/yl4 5wDLyHfWgkxvVHET9USLqVU8/du/8PEI5u9/VvZf5B6Wm5840ywinAordn6zRrvU2W BdWdTJP9OdH2bm+cq9Z2/bUXiToo960/NuPFG/YlD3QiAlxsT81pX587VjD0csBxhw kHKHI1g5/i9gj3xDoyT53/htRwsh/DdPLGOHvi6gbxVxcnTElblP12tmu/Yi4KfGC+ J/EheCe7ZjMuA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fdq7N3Dljz9rxj; Mon, 10 May 2021 07:17:36 +0200 (CEST) From: pukkamustard Date: Mon, 10 May 2021 05:16:21 +0000 Message-Id: <20210510051628.15359-37-pukkamustard@posteo.net> In-Reply-To: <20210510051628.15359-1-pukkamustard@posteo.net> References: <20210414090800.6458-1-pukkamustard@posteo.net> <20210510051628.15359-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=1620623951; 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=0tuWz6JL5cJJnYvPPnhfXM6MltNZoW+IhB31kSTs9Ng=; b=StNc/VUnx7D8X+3JdAgWUZRlgRghTtSnplQFT8dTPV5rxxy6NEgdhAEJM++dkeiLpFiCTQ Qsb0pHHeETWDV9jVORLgWFpb5Bz5y0AYRHhdo+Z+t0bwqLOIt9+SbaeqJMIzsltlEz4i6Q hwAjBLMY4ZTnZFF4hW0VCNJGS63zeDANlHs99nQp4imjwRvardkn8dlG9UerGvVn2jeHZz sBmn/92mPB67ZBP+o5qVAIJr+hs/OMiskgZEXtwSpB/sU28mH9ISliE5NSddJXR3QGsuFk j6UFAZ54nCZB42erDUUjdjrDhUy43rQ4kpcdlX+o5mCPeyhMWNW6rOP/l6/mBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620623951; a=rsa-sha256; cv=none; b=TiAQCNNTvPfYWZ2j9sfBRAbCbnIIfpQIaiiCFWa6VXZbel5AVZbeMuPiCjFos6iCYCITTj 3Vnh5L09ojq0Xu/4g5H2KyZ2TIqnAQPCrOyzcuzItCN3z6YZlJYpNITDjd0KyHf6U9Gmcl 0ttw5CnguN4pEcvDBbByT/7HF/BxdqSwxDmHyuYxoszeRLQ2jUOg9Dn/5/LeDDcRyIK1j3 gxhPxVM+Qs9bsXjLPuSmFFqAcsyuEIX7zlDWFvZezyIERtpNOHossWj996gzUJPGg5qkFc /AMFhxZ7r9yDrBJ1/ir629Ia4wITCqTnPa5lqY1CS5YHTp1OYjNDmfb5wV32mA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=N2L8dbmr; 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.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=N2L8dbmr; 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: 2DBB5BE38 X-Spam-Score: 3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: YAPIDIlT8r9V * gnu/packages/ocaml.scm (ocaml-angstrom): New variable. --- gnu/packages/ocaml.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index e91c2e14b3..24bfb8cf37 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6833,3 +6833,40 @@ these missing pieces.") "This packages backports new features of the language to older compilers, such as let+.") (license license:expat))) + +(define-public ocaml-angstrom + (package + (name "ocaml-angstrom") + (version "0.15.0") + (home-page "https://github.com/inhabitedtype/angstrom") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hmrkdcdlkwy7rxhngf3cv3sa61cznnd9p5lmqhx20664gx2ibrh")))) + (build-system dune-build-system) + (arguments + ;; Only build the base angstrom package. + '(#:package "angstrom" + #:test-target ".")) + (propagated-inputs + `(("ocaml-bigstringaf" ,ocaml-bigstringaf))) + (native-inputs + `(("ocaml-alcotest" ,ocaml-alcotest) + ("ocaml-ppx-let" ,ocaml-ppx-let) + ("ocaml-syntax-shims" ,ocaml-syntax-shims))) + (synopsis "Parser combinators built for speed and memory-efficiency") + (description + "Angstrom is a parser-combinator library that makes it easy to write +efficient, expressive, and reusable parsers suitable for high-performance +applications. It exposes monadic and applicative interfaces for composition, +and supports incremental input through buffered and unbuffered interfaces. +Both interfaces give the user total control over the blocking behavior of +their application, with the unbuffered interface enabling zero-copy IO. +Parsers are backtracking by default and support unbounded lookahead.") + (license license:bsd-3))) -- 2.31.1