From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KGueN/pr0GAjvgAAgWs5BA (envelope-from ) for ; Mon, 21 Jun 2021 12:37:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UCFgM/pr0GC1eQAA1q6Kng (envelope-from ) for ; Mon, 21 Jun 2021 10:37:46 +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 5D0DD1DB46 for ; Mon, 21 Jun 2021 12:37:46 +0200 (CEST) Received: from localhost ([::1]:56130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvHJJ-00076w-6v for larch@yhetil.org; Mon, 21 Jun 2021 06:37:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvGlm-0005Ci-1L for guix-patches@gnu.org; Mon, 21 Jun 2021 06:03:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvGlj-0000sF-9a for guix-patches@gnu.org; Mon, 21 Jun 2021 06:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lvGlj-0003vi-7P for guix-patches@gnu.org; Mon, 21 Jun 2021 06:03:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49150] [PATCH 9/9] gnu: Add ocamlformat. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Jun 2021 10:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49150 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49150@debbugs.gnu.org Received: via spool by 49150-submit@debbugs.gnu.org id=B49150.162426972915000 (code B ref 49150); Mon, 21 Jun 2021 10:03:03 +0000 Received: (at 49150) by debbugs.gnu.org; 21 Jun 2021 10:02:09 +0000 Received: from localhost ([127.0.0.1]:35492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvGkq-0003tm-P8 for submit@debbugs.gnu.org; Mon, 21 Jun 2021 06:02:08 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:46628 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvGkn-0003s6-A3 for 49150@debbugs.gnu.org; Mon, 21 Jun 2021 06:02:05 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1624269725; bh=rqxBwWc761Z8Idjq431E8nAHlJOfZEUN0zqNx+/dWSg=; h=From:To:Subject:In-Reply-To:References:Date; b=QxhQNJwcfV0qxOhjN41ebN8tqGwLIwndrouLSKOWArnClqqvf6uds76eO8F7ZymdT BSYYosdE8LG3tRkvNRKSq3H4HpU2AUxdta1JrdvmIcs/JcxeU+gYTpw/31lG/R5sks YiZ9mi9hELVe1ImDR2secg829aUgC58L35Dis21U= In-Reply-To: References: Message-Id: <6b6c96975b9ad8872f6cb0f39fb53881af4bca2e.1624269361.git.public@yoctocell.xyz> Date: Mon, 21 Jun 2021 12:02:04 +0200 MIME-Version: 1.0 Content-Type: text/plain 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624271866; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=iMMWFQ/0WG4+Vxjxl4LGi8SMYSWoCZ4DgmG83aYejvw=; b=hl5yYl84jqWPWl+OudS8IFLfkBXqKpX+fH3I6rQ5ozZeu8Ly3GLmxoKqjuYm4Gsf2cVuyr 9WLud1n0Vixqp3IPNzjd/VsAeVlTsjymcUXcdQEepN/nIbRXTRnHO/5l4cIY9qJjP7BzQI YRY2S/lniUQfR9Rs55YBJjVhc3DWgd1e1nRBURVBkYKatqwKOA76BtaasIUrE+xASzRsbT ymYlEYIRombo3vb41y4wYUlbL1rYj4Wos1186y3mS5K98INELdj16as9qBH24Q+C0Evi/Q h3eAXDbz3rsjDZgpNzDV5UMiZj4GcYNufwqGsvYH9lQyHH+zdWO9a5pIQqvcug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624271866; a=rsa-sha256; cv=none; b=DWPxFR9K+OyHFHa66iAvLLFSMn4LxpbhXnvzzy53ldg/7PhwKbQRmVYcYIQ7y3Rca1kylI xFoUq8XBtKRZFOtmkgbHOJywnrhlXw9HDn7JnXiACQgqqP1jF+CXfc9dvE6Ek25e7R9Q68 Plenfi4Ft04lz+xDytmp4Nv/wxBRUZgJfAIUU5wOj1IeVXE9sA/ajHDU9HBTBkLqG0Jwwd NAgmGCYjwBsePWPn/xjjkeEEdtKTp0O4fU6hfHGZ04zmhDueA0WMuShJDZPdSlxrqx+blx 2E3kqix/0LZ4ZsALVGH4KLbGqY81zJIR/71S86R5Mbe2bpTzOxnW3a2rbr3R9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=QxhQNJwc; 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-Spam-Score: -0.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=QxhQNJwc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 5D0DD1DB46 X-Spam-Score: -0.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: bdhc69nc7nOF * gnu/packages/ocaml.scm (ocamlformat): New variable. --- gnu/packages/ocaml.scm | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index b78e3ab2fa..ca15b86c8a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7103,6 +7103,52 @@ or the list of statically linked libraries with their versions. It supports reporting the version from the version control system during development to get an precise reference of when the executable was built."))) +(define-public ocamlformat + (package + (name "ocamlformat") + (version "0.18.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml-ppx/ocamlformat") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0n6363km8xr81pvyk453n6h2mb0256c5yxw3p1li4dn83f3lwxr1")))) + (build-system dune-build-system) + (arguments + '(#:package "ocamlformat" + ;; FIXME: The expected format is slightly different than what the + ;; produced format is for test/cli/stdin.t + #:tests? #f)) + (propagated-inputs + `(("ocaml-version" ,ocaml-version) + ("ocaml-base" ,ocaml-base) + ("ocaml-cmdliner" ,ocaml-cmdliner) + ("ocaml-dune-build-info" ,ocaml-dune-build-info) + ("ocaml-fix" ,ocaml-fix) + ("ocaml-fpath" ,ocaml-fpath) + ("ocaml-menhir" ,ocaml-menhir) + ("ocaml-menhir-lib" ,ocaml-menhir-lib) + ("ocaml-menhir-sdk" ,ocaml-menhir-sdk) + ("ocaml-odoc" ,ocaml-odoc) + ("ocaml-ppxlib" ,ocaml-ppxlib) + ("ocaml-re" ,ocaml-re) + ("ocaml-stdio" ,ocaml-stdio) + ("ocaml-uuseg" ,ocaml-uuseg) + ("ocaml-uutf" ,ocaml-uutf))) + (native-inputs + `(("ocaml-alcotest" ,ocaml-alcotest) + ("ocaml-ocp-indent" ,ocaml-ocp-indent) + ("ocaml-bisect-ppx" ,ocaml-bisect-ppx))) + (home-page "https://github.com/ocaml-ppx/ocamlformat") + (synopsis "Auto-formatter for OCaml code") + (description "OCamlFormat is a tool to automatically format OCaml code in +a uniform style.") + (license license:expat))) + (define-public ocaml-bigstringaf (package (name "ocaml-bigstringaf") -- 2.32.0