From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6EKeGB6kE2FXDgEAgWs5BA (envelope-from ) for ; Wed, 11 Aug 2021 12:19:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OD0cFB6kE2HPRwAA1q6Kng (envelope-from ) for ; Wed, 11 Aug 2021 10:19:10 +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 1A86F1F6CF for ; Wed, 11 Aug 2021 12:19:10 +0200 (CEST) Received: from localhost ([::1]:43604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDlKF-0001WX-3y for larch@yhetil.org; Wed, 11 Aug 2021 06:19:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDlKA-0001WI-Bz for guix-patches@gnu.org; Wed, 11 Aug 2021 06:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDlKA-0000dS-0t for guix-patches@gnu.org; Wed, 11 Aug 2021 06:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDlK9-0007NF-St for guix-patches@gnu.org; Wed, 11 Aug 2021 06:19:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50002] [PATCH] gnu: Add ocaml-odoc-parser. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Aug 2021 10:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50002 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50002@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162867713028326 (code B ref -1); Wed, 11 Aug 2021 10:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Aug 2021 10:18:50 +0000 Received: from localhost ([127.0.0.1]:33515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDlJy-0007Mn-Hu for submit@debbugs.gnu.org; Wed, 11 Aug 2021 06:18:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:59340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDlJw-0007Mf-DO for submit@debbugs.gnu.org; Wed, 11 Aug 2021 06:18:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDlJw-0001UQ-7L for guix-patches@gnu.org; Wed, 11 Aug 2021 06:18:48 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:44772 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDlJr-0000Oh-JH for guix-patches@gnu.org; Wed, 11 Aug 2021 06:18:47 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628677118; bh=+SpdA8zH9XNGk71VT+L3zqvGoV7epRXEDNwX4EEaRYY=; h=From:To:Subject:Date; b=N8u62MkG4DIxuqtlnRibpWw+3DtEaHqrY4EHole4szpy6qlk5F43ZIzWhJ6Zpt3Jm Uet25WToqJiWAqvNatPINwzU4lCFL5mWzpMASZWG8nRJCPi8vyz2sqOVW3qjZ+UoKJ 5i4JkSbxf6oux7s9V6WqbVLlBRjxxLbvsVnR07XE= Message-Id: <8576738711035131526e9d09163fba20119d9110.1628677077.git.public@yoctocell.xyz> Date: Wed, 11 Aug 2021 12:18:37 +0200 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 18 X-Spam_score: 1.8 X-Spam_bar: + X-Spam_report: (1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=0.386, PDS_OTHER_BAD_TLD=1.997, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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=1628677150; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=3RUiK3FHHexoqSWiH7CFKSEMto+BP8t3gaT/NBFIDcM=; b=ue8Gl/B7g1DJgdInGfz4sEn/aElFNvWV2VZezn6Lbg4rqz3M7mKpO+WXC+2LwMKrNnKaPB Pwa1xwkhAYmcWbh0M3SkIueXQu4IYsGDn8R70PgfPp94F0N2BM9mhUYhhCmwsjoIOYqcvv tpHbTh6+/dux9dx8LPBPByvi881xzDK/xE843/hiT+hcC/kYs9G3Qe/zmBqUryFDEWDuMy sjmCiRyVXGz8zlzydLxNDYWE9fFnYH1fNJlfG8KlsPSzZMDKon2cgZ3mM12evpMI9eJcwk S0g+x7zxZnuJNHq7fwPabMQGn4UrU79m1SY3mz9MvolbBOPnd3g1XkjXov4hxg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628677150; a=rsa-sha256; cv=none; b=dWDxeN5l63mBGZEHCJ1AtfEOk0gJ2zhILgoKUkrIQ400SZrGalLpbvOohOTs9i40pJHDWy uD3Rfw+/NxZFUO0R8nYUtwpeMK5ux4Wg8eSuL9NGtL8yl3pZzEjjyk1V6tXIWUsAllXIXG HebNHhtChMoocLY9tq12aegmUSRruovRZWF3b93KRdAo8nflcTXJFXAAYqC0z0m+e8yjfJ u+Gl179HzEOTP/DFzu1iyrTGhgrmUnCQ5o4BS7/hPNOw1Oz3lQzJF7tLkF/69aM6XCp8O8 SSX95Dd/DNBUF6Fb0iLmxcFulUvmHPs2Zxs5b1NWf/8hpQjm1cGuqQ8S0pAXuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=N8u62MkG; 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-Spam-Score: -0.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=N8u62MkG; 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: 1A86F1F6CF X-Spam-Score: -0.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: /iwSx63Zj4o4 * gnu/packages/ocaml.scm (ocaml-odoc-parser): New variable. --- gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 112751ddec..6ef0823738 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6606,6 +6606,34 @@ advantage over ocamldoc is an accurate cross-referencer, which handles the complexity of the OCaml module system.") (license license:isc))) +(define-public ocaml-odoc-parser + (package + (name "ocaml-odoc-parser") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml-doc/odoc-parser") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jlc6dp3v90r1ra7r0jfw0xs8rylwdz9gymw4rd53h0p17cw1wnj")))) + (build-system dune-build-system) + (propagated-inputs + `(("ocaml-astring" ,ocaml-astring) + ("ocaml-result" ,ocaml-result))) + (native-inputs + `(("ocaml-ppx-expect" ,ocaml-ppx-expect))) + (home-page "https://github.com/ocaml-doc/odoc-parser") + (synopsis "Parser for ocaml documentation comments") + (description + "This package provides a library for parsing the contents of OCaml +documentation comments, formatted using Odoc syntax, an extension of the +language understood by ocamldoc.") + (license license:isc))) + ;; version 1.5.2 requires ocaml-markdown 1.0.0 which does not compile ;; with old version of dune used in package-with-ocaml4.07 (define-public ocaml4.07-odoc base-commit: 2730ed9a0e905c4d8b9303f1454620a648822b21 -- 2.32.0