Skip to content

Commit dca0081

Browse files
committed
Package ocaml-version.4.0.1
1 parent 11859fd commit dca0081

File tree

1 file changed

+54
-0
lines changed
  • packages/ocaml-version/ocaml-version.4.0.1

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
opam-version: "2.0"
2+
synopsis: "Manipulate, parse and generate OCaml compiler version strings"
3+
description: """\
4+
This library provides facilities to parse version numbers of the OCaml compiler, and enumerates the various official OCaml releases and configuration variants.
5+
6+
OCaml version numbers are of the form `major.minor.patch+extra`, where the `patch` and `extra` fields are optional. This library offers the following functionality:
7+
8+
- Functions to parse and serialise OCaml compiler version numbers.
9+
- Enumeration of official OCaml compiler version releases.
10+
- Test compiler versions for a particular feature (e.g. the `bytes` type)
11+
- [opam](https://opam.ocaml.org) compiler switch enumeration.
12+
13+
### Further information
14+
15+
- **Discussion:** Post on <https://discuss.ocaml.org/> with the `ocaml` tag under the Ecosystem category.
16+
- **Bugs:** <https://github.com/ocurrent/ocaml-version/issues>
17+
- **Docs:** <http://docs.mirage.io/ocaml-version>"""
18+
maintainer: "Anil Madhavapeddy <[email protected]>"
19+
authors: "Anil Madhavapeddy <[email protected]>"
20+
license: "ISC"
21+
tags: "org:ocamllabs"
22+
homepage: "https://github.com/ocurrent/ocaml-version"
23+
doc: "https://ocurrent.github.io/ocaml-version/doc"
24+
bug-reports: "https://github.com/ocurrent/ocaml-version/issues"
25+
depends: [
26+
"dune" {>= "3.6"}
27+
"ocaml" {>= "4.07.0"}
28+
"alcotest" {with-test}
29+
"odoc" {with-doc}
30+
]
31+
build: [
32+
["dune" "subst"] {dev}
33+
[
34+
"dune"
35+
"build"
36+
"-p"
37+
name
38+
"-j"
39+
jobs
40+
"@install"
41+
"@runtest" {with-test}
42+
"@doc" {with-doc}
43+
]
44+
]
45+
dev-repo: "git+https://github.com/ocurrent/ocaml-version.git"
46+
url {
47+
src:
48+
"https://github.com/ocurrent/ocaml-version/releases/download/v4.0.1/ocaml-version-4.0.1.tbz"
49+
checksum: [
50+
"md5=7ac431b54bf48cc4340885acb37143fa"
51+
"sha512=e2faa6f55cfeb305d4cdeb8b9f0ee87098c69f835b42dcebf4dfa1f865ce1e213fbd4e5de7bb4d4efaf9339fd0965380b1f7ea9a1e98131caed3ffaadf873b96"
52+
]
53+
}
54+
x-maintenance-intent: ["(latest)"]

0 commit comments

Comments
 (0)