* [bug#50002] [PATCH] gnu: Add ocaml-odoc-parser.
@ 2021-08-11 10:18 Xinglu Chen
2021-08-30 12:51 ` bug#50002: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Xinglu Chen @ 2021-08-11 10:18 UTC (permalink / raw)
To: 50002
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#50002: [PATCH] gnu: Add ocaml-odoc-parser.
2021-08-11 10:18 [bug#50002] [PATCH] gnu: Add ocaml-odoc-parser Xinglu Chen
@ 2021-08-30 12:51 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-08-30 12:51 UTC (permalink / raw)
To: Xinglu Chen; +Cc: 50002-done
Hi,
Xinglu Chen <public@yoctocell.xyz> skribis:
> * gnu/packages/ocaml.scm (ocaml-odoc-parser): New variable.
Pushed, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-30 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 10:18 [bug#50002] [PATCH] gnu: Add ocaml-odoc-parser Xinglu Chen
2021-08-30 12:51 ` bug#50002: " Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.