From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YH6CFy8ck2TnnAAASxT56A (envelope-from ) for ; Wed, 21 Jun 2023 17:50:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8Ip8Fy8ck2QgDwAA9RJhRA (envelope-from ) for ; Wed, 21 Jun 2023 17:50:07 +0200 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 18AADFDF3 for ; Wed, 21 Jun 2023 17:50:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qC04y-00063O-V8; Wed, 21 Jun 2023 11:49:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qC04w-00060k-1N for guix-patches@gnu.org; Wed, 21 Jun 2023 11:49:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qC04v-0003d7-Oy for guix-patches@gnu.org; Wed, 21 Jun 2023 11:49:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qC04v-0002Lk-KF; Wed, 21 Jun 2023 11:49:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64209] [PATCH 11/14] gnu: Add ocaml-pp. Resent-From: Benjamin Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Wed, 21 Jun 2023 15:49:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64209 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64209@debbugs.gnu.org Cc: Benjamin , Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Julien Lepiller , pukkamustard Received: via spool by 64209-submit@debbugs.gnu.org id=B64209.16873625198810 (code B ref 64209); Wed, 21 Jun 2023 15:49:05 +0000 Received: (at 64209) by debbugs.gnu.org; 21 Jun 2023 15:48:39 +0000 Received: from localhost ([127.0.0.1]:34033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qC04U-0002Ht-MD for submit@debbugs.gnu.org; Wed, 21 Jun 2023 11:48:39 -0400 Received: from mail.uvy.fr ([146.59.197.40]:46304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qC04P-0002FH-W1 for 64209@debbugs.gnu.org; Wed, 21 Jun 2023 11:48:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1687362504; bh=eRG/Itv7tQeWU5zlNuvZrtVXWAXEqwHn9+2ulg5A0QY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=nj3kXuDEf99qiOkTKAa+rXWqAGG0W3GWGpYWGC4TBFxBe9Hq7X68gF41B3Rl0ZOiC RnU+izdimdT7viL5T2vRqIGM+StWuDgL/r6YK8PDrlnCrf7qdaas3A74evZjJP8SZD cGjCBzMY+qoB/kfJqgoTOO6HO++3G4Ot3IIDgz7SFQSeT9/fyIIWZitOB5lM119R1d EajGaQbb4DbwhUJa7t2aER4Q4NuiIZ3z6PAsy/l65MBhBIupwHxegff7ieH2owAnog A7geGhkClw6nES94WTMC6DKofkmv0I57JN5Bp7w1H/Ey3O94fRx41bpxUAqGa/6BEk cek885huETLKw== From: Benjamin Date: Wed, 21 Jun 2023 17:48:25 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687362607; 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=2SDdCEu2oIW543cQgEg1m924xjZiL9eG/Jh/P0RuVDI=; b=iYVFUPyaCdghKu7X+wk11lhtcXqxJusoiQ+HO18YlyYSSrAEBvZWoIMyn9yKAsXb6tywTs /jA5p6hsGk4C/8c+DtuQxDeFAHPItBR2bnRgsFlvl9rIu/PM9RqV7kUGg2Vt2wUVFfP8d1 3KUer09nnoAB/cYqtDB4NXgQXMl/yMORi7W9ZeRhSWDofx9bEL7B09dl5bFfDw/gfbF0VY L+mswq6wBXcdN+QVH8Vxzx8V94L3Wq/ecMFe+TZOoZ/k7Ku2N/xkVAIFzT/nmMa7igR1K0 4rj0Qg29/ANUkyJ51/G2nF86xfQlOSi4puLwKYS1lrwQzdQdJ90paEwrkQJpbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=nj3kXuDE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687362607; a=rsa-sha256; cv=none; b=DFyuTKh8yNd2dDAXKS+2pYiafswPslBTf35NW7fkUFQAzqE2Tf0sKcDEvIB4GaBcXYNKiF 4/ng44veCGG3uWQRM6/A/wTeAyu2fGMtZJD1M2HpK1s6EncqvAAX2Rn8k1ad5el6/V2A6N +WWAvShtss/hviETMrXpwouoP9N48awEDiu4flphNpxVLHEheY7UcqlrTjGJPSNv8OcUTU 7Vp9HocMGjXbNgQ2HeI9Tg/ViR3oqNY+pzg9Zilsg6p4XIBQ93hwsJHAx7qrV03SOtKXpj kDMfeqd00UI9S2+zrXwTChwHjVaR1lm9DhEpnemKo/tz2jhZkXkyOFoidafKmg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=nj3kXuDE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 18AADFDF3 X-Spam-Score: -0.65 X-TUID: GnQZ5P8w9Hqd * gnu/packages/ocaml.scm (ocaml-pp): New variable. --- gnu/packages/ocaml.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 30eb7e2209..ffc7a9e5e9 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2015,6 +2015,37 @@ (define-public ocaml5.0-csexp (propagated-inputs `(("ocaml-result" ,ocaml5.0-result))))) +(define-public ocaml-pp + (package + (name "ocaml-pp") + (version "1.1.2") + (home-page "https://github.com/ocaml-dune/pp") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0w7gxa85ffbd6jgs6ziarq69yi423f0qkpk05r3abh6lg8smw8pg")))) + (build-system dune-build-system) + (native-inputs (list ocaml-ppx-expect)) + (synopsis "Pretty-printing library") + (description + "This library provides a lean alternative to the Format [1] module of the OCaml +standard library. It aims to make it easy for users to do the right thing. If +you have tried Format before but find its API complicated and difficult to use, +then Pp might be a good choice for you. Pp uses the same concepts of boxes and +break hints, and the final rendering is done to formatter from the Format +module. However it defines its own algebra which some might find easier to work +with and reason about. No previous knowledge is required to start using this +library, however the various guides for the Format module such as this one [2] +should be applicable to Pp as well. [1]: +https://caml.inria.fr/pub/docs/manual-ocaml/libref/Format.html [2]: +http://caml.inria.fr/resources/doc/guides/format.en.html") + (license license:expat))) + (define-public ocaml-migrate-parsetree (package (name "ocaml-migrate-parsetree") -- 2.40.1