From patchwork Mon Aug 22 09:54:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 41859 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CF2F627BBE9; Mon, 22 Aug 2022 10:56:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5215027BBE9 for ; Mon, 22 Aug 2022 10:56:14 +0100 (BST) Received: from localhost ([::1]:36592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ4AH-0007f2-GA for patchwork@mira.cbaines.net; Mon, 22 Aug 2022 05:56:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ4A6-0007eg-Vi for guix-patches@gnu.org; Mon, 22 Aug 2022 05:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48172) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ4A6-0007dK-NG for guix-patches@gnu.org; Mon, 22 Aug 2022 05:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQ4A6-00065i-Jz for guix-patches@gnu.org; Mon, 22 Aug 2022 05:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57298] [PATCH v2 2/5] gnu: Add ocaml-pprint. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Aug 2022 09:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57298 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57298@debbugs.gnu.org Cc: pukkamustard Received: via spool by 57298-submit@debbugs.gnu.org id=B57298.166116213223336 (code B ref 57298); Mon, 22 Aug 2022 09:56:02 +0000 Received: (at 57298) by debbugs.gnu.org; 22 Aug 2022 09:55:32 +0000 Received: from localhost ([127.0.0.1]:37912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ49c-00064I-50 for submit@debbugs.gnu.org; Mon, 22 Aug 2022 05:55:32 -0400 Received: from mout02.posteo.de ([185.67.36.66]:49311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ49a-00063l-Iv for 57298@debbugs.gnu.org; Mon, 22 Aug 2022 05:55:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B9A0A240103 for <57298@debbugs.gnu.org>; Mon, 22 Aug 2022 11:55:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1661162124; bh=/x5ygCHWqOdIAV6xG8u2ckWyyvIAv0SIxnisa0VIybI=; h=From:To:Cc:Subject:Date:From; b=QXdG22HzCBKFi4xSrE7raGrIFwaT3XY6hueWe2Hpq0uS6OD7R9C9iEq/sa8IQ7QXX 6q/+9gyeiKaFZqL1RTxs4Cs7kYBB6qC+3cf8xqybJDuE8+mpxby9JyA73zUGd3BCnO 3af4eWXldDN3JJ9TcemmMdboodi/4YfkFqg8FtfUYn8uwDTuYYE/ba5uhqssn8cMPb bHhvB8VU/8uLTPt2eJJp0c5wjSkG3U/oziNOxceb3h0ia8JHKhJRYY9dj/TRVjfusk cN9xjNksW+aerk3MLLL3BVQOj7/4W4CXFXBsyuoOseL8vK9opFaYkHPdM0SO6IDxbO hRxUUrjrGSHLw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MB75Q26Yrz6tlh; Mon, 22 Aug 2022 11:55:22 +0200 (CEST) From: pukkamustard Date: Mon, 22 Aug 2022 09:54:36 +0000 Message-Id: <20220822095439.12522-2-pukkamustard@posteo.net> In-Reply-To: <20220822095439.12522-1-pukkamustard@posteo.net> References: <20220819152149.25881-1-pukkamustard@posteo.net> <20220822095439.12522-1-pukkamustard@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-pprint): New variable. --- gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 14550d1232..aaa596ae20 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8579,6 +8579,31 @@ (define-public ocaml-afl-persistent repeated forking and is much faster.") (license license:expat))) +(define-public ocaml-pprint + (package + (name "ocaml-pprint") + (version "20220103") + (home-page "https://github.com/fpottier/pprint") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09y6nwnjldifm47406q1r9987njlk77g4ifqg6qs54dckhr64vax")))) + (build-system dune-build-system) + (synopsis "OCaml pretty-printing combinator library and rendering +engine") + (description "This OCaml library offers a set of combinators for building +so-called documents as well as an efficient engine for converting documents to +a textual, fixed-width format. The engine takes care of indentation and line +breaks, while respecting the constraints imposed by the structure of the +document and by the text width.") + (license license:lgpl2.0))) + (define-public ocaml-bibtex2html (package (name "ocaml-bibtex2html")