From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WCKWDfe6/F8CEQAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 20:54:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8H1qCfe6/F+zDwAAB5/wlQ (envelope-from ) for ; Mon, 11 Jan 2021 20:54:15 +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 3362E9402A8 for ; Mon, 11 Jan 2021 20:54:12 +0000 (UTC) Received: from localhost ([::1]:53014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz4CZ-0005kD-5V for larch@yhetil.org; Mon, 11 Jan 2021 15:54:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz4CQ-0005jl-B5 for guix-patches@gnu.org; Mon, 11 Jan 2021 15:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kz4CQ-0004mV-4Q for guix-patches@gnu.org; Mon, 11 Jan 2021 15:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kz4CQ-0005Jw-2r for guix-patches@gnu.org; Mon, 11 Jan 2021 15:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45762] [PATCH 1/3] ocaml: Add ocaml-ocp-indent * gnu/packages/ocaml.scm (ocaml-ocp-indent): New variable. References: <20210110104915.2t6u4atuikypepfw@minitower> In-Reply-To: <20210110104915.2t6u4atuikypepfw@minitower> Resent-From: aecepoglu Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Jan 2021 20:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45762 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45762@debbugs.gnu.org Received: via spool by 45762-submit@debbugs.gnu.org id=B45762.161039840920397 (code B ref 45762); Mon, 11 Jan 2021 20:54:02 +0000 Received: (at 45762) by debbugs.gnu.org; 11 Jan 2021 20:53:29 +0000 Received: from localhost ([127.0.0.1]:58427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz4Bp-0005Is-Vn for submit@debbugs.gnu.org; Mon, 11 Jan 2021 15:53:29 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz4Bn-0005If-Lg for 45762@debbugs.gnu.org; Mon, 11 Jan 2021 15:53:24 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5E8335C0180 for <45762@debbugs.gnu.org>; Mon, 11 Jan 2021 15:53:18 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 11 Jan 2021 15:53:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=fm2; bh=nqMS+wF8AjQynimkhoDZb55tIJ +Oys2j2jcvvpYZk1o=; b=XcLsVJrYsxKUQl2fmGhULRqSoGIAENdpv1wr0KDXWx LCsyMien7e02kVzd4JTYsTXGTJNPVvWYzRrRk5Oy1Y4CQyQXXVf+VFZvVAUSQeNf 1BEh/6RFeS8q0m9LPddb4Isgj+jxY/JZAeQix2yulvW5Mixe7P96TOC1u/DlinVn 4EF6kcSZlHFVkENaNSacV7Ot3ECvvYby0/xqoseCjk+1CqRyP4DwfYOknjUheyX8 7A+etCOy0K7TCWgDh91OCiHFfvdRko6H5GapLD95m2/TWtrv4BIvucC485Y9rMfo CTmkfYG88yKGQ2XKj1DL7fsGNVj01OlhRULTf/Dl/vMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=nqMS+w F8AjQynimkhoDZb55tIJ+Oys2j2jcvvpYZk1o=; b=CzMIOgM7LN/JM/DfUMmqma BG/UlY15tsZ9J0KfWWOAAvIOLBsj+pnwcnsqJK6ogS8Dwy5o2T0cLF8UGuSp6xhM qmvxiscxzL7FsitQmKrmlxOfAaZl7TyfJ5WoO7XmSh8diUiNnKhdn0dGK3KpBIn4 7PiuEvwM8kDTOqj+3Nt9gIiVrtjUGGFP0C1fsciLh6/Zp0ZfNi12WMO1m5nyQ3XL gXmAMIIEGZETphR0sGOv84J+bDokLfwUmlkjNOowQQzCvdsK7ZaVhlNoG1rqSEM9 t+fY5igHV9A1DDVP9cLvLrltlzBvac0lIcDMTB3GZ+zQEjWutCnb7Wor2i9ww/tQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdehuddgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggugfesthekre dttddtudenucfhrhhomheprggvtggvphhoghhluhcuoegrvggtvghpohhglhhusehfrghs thhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeegudeilefgleeutdfgtdefleejvd elleehleffteeggfegffetuefggfdvjeehvdenucffohhmrghinhepghhithhhuhgsrdgt ohhmpdhthihpvghrvgigrdhorhhgnecukfhppedujeeirdeguddrvdelrddukedtnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggvtggvphho ghhluhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from localhost (unknown [176.41.29.180]) by mail.messagingengine.com (Postfix) with ESMTPA id E00D7240064 for <45762@debbugs.gnu.org>; Mon, 11 Jan 2021 15:53:16 -0500 (EST) Date: Mon, 11 Jan 2021 23:55:04 +0300 From: aecepoglu Message-ID: <20210111205504.aoiqpipkjnxhzbpp@minitower> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline 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 X-Migadu-Spam-Score: -0.75 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=fastmail.fm header.s=fm2 header.b=XcLsVJrY; dkim=fail (headers rsa verify failed) header.d=messagingengine.com header.s=fm1 header.b=CzMIOgM7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.fm (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: 3362E9402A8 X-Spam-Score: -0.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: z61E248mUq0s --- gnu/packages/ocaml.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 2df16e7cd2..d2e2f03f3a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2020 Simon Tournier ;;; Copyright © 2020 divoplade ;;; Copyright © 2020 pukkamustard +;;; Copyright © 2021 aecepoglu ;;; ;;; This file is part of GNU Guix. ;;; @@ -2363,6 +2364,42 @@ the JSON data format. It can process JSON text without blocking on IO and without a complete in-memory representation of the data.") (license license:isc))) +(define-public ocaml-ocp-indent + (package + (name "ocaml-ocp-indent") + (version "1.8.1") + (source + (origin + (method url-fetch) + (uri "https://github.com/OCamlPro/ocp-indent/archive/1.8.1.tar.gz") + (sha256 + (base32 + "0rqcvwzpwwzwqvrzg1l37jjiglrk2ijgjg1c7vy3xvc8lk9zyysw")))) + (build-system dune-build-system) + (arguments + `(#:tests? #f + #:build-flags (list "--profile=release"))) + (propagated-inputs + `(("ocaml-cmdliner" ,ocaml-cmdliner))) + (home-page + "http://www.typerex.org/ocp-indent.html") + (synopsis + "Tool to indent OCaml programs") + (description + "Ocp-indent is based on an approximate, tolerant OCaml parser + and a simple stack machine. +Presets and configuration options available, + with the possibility to set them project-wide. +Supports most common syntax extensions, and extensible for others. + +Includes: + +- An indentor program, callable from the command-line or from within editors +- Bindings for popular editors +- A library that can be directly used by editor writers, + or just for fault-tolerant/approximate parsing.") + (license license:lgpl2.1))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") -- 2.29.2