this repo has no description
1opam-version: "2.0"
2synopsis: "Parser for ocaml documentation comments"
3description: """
4Odoc_parser is a library for parsing the contents of OCaml documentation
5comments, formatted using 'odoc' syntax, an extension of the language
6understood by ocamldoc."""
7maintainer: ["Jon Ludlam <jon@recoil.org>"]
8authors: ["Anton Bachin <antonbachin@yahoo.com>"]
9license: "ISC"
10homepage: "https://github.com/ocaml/odoc"
11bug-reports: "https://github.com/ocaml/odoc/issues"
12dev-repo: "git+https://github.com/ocaml/odoc.git"
13doc: "https://ocaml.github.io/odoc/odoc_parser"
14depends: [
15 "dune" {>= "3.7"}
16 "ocaml" {>= "4.02.0"}
17 "astring"
18 "result"
19 "camlp-streams"
20 "ppx_expect" {with-test}
21 ("ocaml" {< "4.04.1" & with-test} | "sexplib0" {with-test})
22]
23build: [
24 ["dune" "subst"] {dev}
25 [
26 "dune"
27 "build"
28 "-p"
29 name
30 "-j"
31 jobs
32 "@install"
33 # Tests are not all associated with a package and would be run if using the
34 # default '@runtest'.
35 "@src/parser/runtest" {with-test}
36 ]
37]
38patches: [
39 "0001-Don-t-make-parser-tests-installable.patch"
40]
41url {
42 src: "https://github.com/ocaml/odoc/releases/download/2.4.0/odoc-2.4.0.tbz"
43 checksum: [
44 "sha256=fa52c66f12fe1bd63535776b5b0451112643446ef2171494e953859ef863959d"
45 "sha512=f55884d0ad788643b7137ee04cd57a1d33375ebf1f1aae32ef03b3a10f03b62723a6c05a31c2e0496794ad5d6d8794350935577a70ddfce3a061e28a49b24d82"
46 ]
47}
48x-commit-hash: "c8d3ba1604cd6a2bb7155afe10ecb596517e9e47"
49extra-source "0001-Don-t-make-parser-tests-installable.patch" {
50 src:
51 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/odoc-parser/0001-Don-t-make-parser-tests-installable.patch"
52 checksum:
53 "sha256=bb6e9615e4ab4e69090099b7dbce587259bae50373cb20c81681d654f934a371"
54}