From patchwork Sat Mar 23 23:35:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin X-Patchwork-Id: 62191 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 3004827BBEA; Sat, 23 Mar 2024 23:43:54 +0000 (GMT) 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=ham 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 9946827BBE2 for ; Sat, 23 Mar 2024 23:43:53 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1roB1S-0003Cv-Pg; Sat, 23 Mar 2024 19:43:34 -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 1roB1H-00038j-TR for guix-patches@gnu.org; Sat, 23 Mar 2024 19:43:24 -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 1roB1H-0004cG-L6 for guix-patches@gnu.org; Sat, 23 Mar 2024 19:43:23 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1roB1v-0002JU-Al; Sat, 23 Mar 2024 19:44:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64209] [PATCH v4 06/11] gnu: Add ocamlc-loc. Resent-From: Benjamin Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Sat, 23 Mar 2024 23:44:03 +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.17112373878745 (code B ref 64209); Sat, 23 Mar 2024 23:44:03 +0000 Received: (at 64209) by debbugs.gnu.org; 23 Mar 2024 23:43:07 +0000 Received: from localhost ([127.0.0.1]:33717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roB10-0002Gr-HW for submit@debbugs.gnu.org; Sat, 23 Mar 2024 19:43:06 -0400 Received: from mail.uvy.fr ([146.59.197.40]:36828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roB0w-0002FB-IG for 64209@debbugs.gnu.org; Sat, 23 Mar 2024 19:43:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1711236950; bh=Io3OH8R8HRsgEHAoeHSVg5XrxSfrUuwqo1xo6rNorDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=2CAG6FcKP3j0haoUaxa+YhSbUsoGvUeqnmZJJTK0YSBatQ75+HKIT3r8DFrt9aN+A gO5zUnjJ2WjcO3Fyb+QAg9MPJzArYNYIQi2/D7KFR2LT60IJp2kPITdSWQiRtF6+vG FjJERPGR3qeldz/72nCK5yju5/Tj/bkwDtd33g0uSqaW6xj+eVekjHzrf5eyUX0eas h78gsjx3r4GohuvQepu95+o5svbTYRaxYh1R2IThIGEoGU+cC2X0oikWTjCeesJlb3 fFShWaCk08CtrKd9QyCCheAezFGOYIFtlUH/3JqwqwsUHYfFKZnoWutE3UQG8qy3YO Dgz8oZ9cGc1cg== Date: Sun, 24 Mar 2024 00:35:16 +0100 Message-ID: <871a1970083eac598f41207500622ae90f93d103.1711236338.git.benjamin@uvy.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: , Reply-to: Benjamin X-ACL-Warn: , Benjamin via Guix-patches X-Patchwork-Original-From: Benjamin via Guix-patches via From: Benjamin Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocamlc-loc): New variable. Change-Id: I0bcc2666d8030f067b964647400ff31e9302d1c7 --- gnu/packages/ocaml.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 8def4c18aa..08d4cea003 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8799,6 +8799,22 @@ (define-public dune-rpc (synopsis "Communicate with ocaml dune using rpc") (description "Library to connect and control a running dune instance."))) +(define-public ocamlc-loc + (package + (inherit dune-ordering) + (name "ocamlc-loc") + (build-system dune-build-system) + (arguments + '(#:package "ocamlc-loc" + ;; Tests have a cyclic dependency on stdune + #:tests? #f)) + (propagated-inputs (list dune-dyn ocaml-odoc)) + (synopsis "Parse ocaml compiler output into structured form") + (description + "This library parses ocaml complier output and returns it as ocaml values. +This library offers no backwards compatibility guarantees."))) + + (define-public ocaml-either (package (name "ocaml-either")