emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50002: closed ([PATCH] gnu: Add ocaml-odoc-parser.)


From: GNU bug Tracking System
Subject: bug#50002: closed ([PATCH] gnu: Add ocaml-odoc-parser.)
Date: Mon, 30 Aug 2021 12:52:02 +0000

Your message dated Mon, 30 Aug 2021 14:51:27 +0200
with message-id <87pmtvayeo.fsf@gnu.org>
and subject line Re: bug#50002: [PATCH] gnu: Add ocaml-odoc-parser.
has caused the debbugs.gnu.org bug report #50002,
regarding [PATCH] gnu: Add ocaml-odoc-parser.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
50002: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50002
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add ocaml-odoc-parser. Date: Wed, 11 Aug 2021 12:18:37 +0200
* 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





--- End Message ---
--- Begin Message --- Subject: Re: bug#50002: [PATCH] gnu: Add ocaml-odoc-parser. Date: Mon, 30 Aug 2021 14:51:27 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi,

Xinglu Chen <public@yoctocell.xyz> skribis:

> * gnu/packages/ocaml.scm (ocaml-odoc-parser): New variable.

Pushed, thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]