From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OCpFJhRC0mRjVQAASxT56A (envelope-from ) for ; Tue, 08 Aug 2023 15:24:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uERRJRRC0mQVzQAAG6o9tA (envelope-from ) for ; Tue, 08 Aug 2023 15:24:36 +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 5B8805D02C for ; Tue, 8 Aug 2023 15:24:36 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=wXOMhwSK; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691501076; 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=i5E2S5UhFuW91/J9+xOBRpf4/wmxvvf4nb6DNrzcRHI=; b=fKeZ8oi+YUz8Ltc7As/kqIyXQgFi95DiwxwwHnq20FEV8ZVQosqeE/sSzu/EEHu65fO+OG 4Yg5Kito5efttjEF020BzV4llf91TLLVsk5MiFoqyFhAqXNy0eufy10iMKk2uHmr21jyad SB3pvxmyzN1wekwYb0LIJetTTQprDMUT0/9wmPu5JpETdDbAuzIyqaUm3V9YOo8ARSrP92 oox5p5g2511uedHg+VWfWNzjBIra4T29vu1xguWKhJ0ry1VZo6RlO7GOyETPsX0xVkxspq a1484JOMvQSsseUPN6hRuG1TpIZ/7wgreZKR8ABD5xBtH5PvOShryOnWztneCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=wXOMhwSK; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691501076; a=rsa-sha256; cv=none; b=mbjtU7yrwn45PJVtTbnZKlJhQzB99u2BOnhpUXKiHfjgNWAXimYNgr+XQwhuMiLS5f4Hk/ sfqlC/XQSu9n1QuFP6qsii6SxvDKnWdNOvaG5HMrbCMxlj/8dtLK7v9fPb2XpmyHpzP4+K dXsmO7lp88CiHF57jua9ma2YkZ2+LJAFSVhE373p9TXDEE4RPLZiC+i5KIoLIqa+RC9OHN +erWR7a22Jak/Nl2rksyzx2nogcXz5lC0941+6sf35XuQI3FA6XiMuHS9Bz+ClTkHPkA+l wJKCXd4auxhkRmUxFJvviJIbNKBuPGQQ1WYAsNF4hFKkqS/eDJBWYJenwRMncA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTMgz-0001dw-6H; Tue, 08 Aug 2023 09:24: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 1qTMgw-0001cf-My for guix-patches@gnu.org; Tue, 08 Aug 2023 09:24:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTMgw-00009W-At for guix-patches@gnu.org; Tue, 08 Aug 2023 09:24:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTMgu-0002jd-8S; Tue, 08 Aug 2023 09:24:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64209] [PATCH v2 02/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: Tue, 08 Aug 2023 13:24:04 +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.169150104210485 (code B ref 64209); Tue, 08 Aug 2023 13:24:04 +0000 Received: (at 64209) by debbugs.gnu.org; 8 Aug 2023 13:24:02 +0000 Received: from localhost ([127.0.0.1]:35583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTMgr-0002iw-W2 for submit@debbugs.gnu.org; Tue, 08 Aug 2023 09:24:02 -0400 Received: from mail.uvy.fr ([2001:41d0:304:200::4a2]:53634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTMgo-0002hc-9i for 64209@debbugs.gnu.org; Tue, 08 Aug 2023 09:23:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1691501031; bh=yaS4bzBtJHl/opg2zpK7swOOwULKHqkrDnEUwTkWom8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=wXOMhwSKZkdN353SQrgi00DXLbX2iqKMruYAT/B6qhx+mtGfn8l94ggUPpRr1WHIc 4Cvdw6skmDk1xTq+wbEcwIu3+W0WOHjqHJFcY2sjaZSTIdbnEebiOZxj/NHvalYiOF 1Qg61hfK9Iw4pTIXm51x4zAEFY+giK1UgUvoMA2akWO6IBjF6spFOmD/pncrsa5ceK C+JCMAbAebhZiSgScQMcNoahiPhaC6HnJ5Sl9VST0USyiJLhU6qGFnvLSjS+h9Qxfa G2EBW/jFMTaFWpEqtCJXp0MrSP0zoXyZJhXfmIbIgi9w6bDlKv5fAUWQcUyi48c4zX nWUIG452HSt7g== From: Benjamin Date: Tue, 8 Aug 2023 15:22:59 +0200 Message-ID: <90cc05c03d34058c2650aaa5a7f83710f1164562.1691500834.git.benjamin@uvy.fr> X-Mailer: git-send-email 2.41.0 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 5B8805D02C X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: 4.33 X-Migadu-Spam-Score: 4.33 X-TUID: qNRdMyASAy7p * 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 552afc4784..e664f33955 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2014,6 +2014,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.41.0