Skip to content

Commit dbd126f

Browse files
authored
Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0
Add: cmdliner.2.0.0
2 parents 23c0b34 + 7c804bb commit dbd126f

File tree

1 file changed

+56
-0
lines changed
  • packages/cmdliner/cmdliner.2.0.0

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
opam-version: "2.0"
2+
synopsis: "Declarative definition of command line interfaces for OCaml"
3+
description: """\
4+
Cmdliner allows the declarative definition of command line interfaces
5+
for OCaml.
6+
7+
It provides a simple and compositional mechanism to convert command
8+
line arguments to OCaml values and pass them to your functions. The
9+
module automatically handles command line completion, syntax errors,
10+
help messages and UNIX man page generation. It supports programs with
11+
single or multiple commands and respects most of the [POSIX] and [GNU]
12+
conventions.
13+
14+
Cmdliner has no dependencies and is distributed under the ISC license.
15+
16+
Homepage: <http://erratique.ch/software/cmdliner>
17+
18+
[POSIX]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html
19+
[GNU]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html"""
20+
maintainer: "Daniel Bünzli <daniel.buenzl [email protected]>"
21+
authors: "The cmdliner programmers"
22+
license: "ISC"
23+
tags: ["cli" "system" "declarative" "org:erratique"]
24+
homepage: "https://erratique.ch/software/cmdliner"
25+
doc: "https://erratique.ch/software/cmdliner/doc"
26+
bug-reports: "https://github.com/dbuenzli/cmdliner/issues"
27+
depends: [
28+
"ocaml" {>= "4.08.0"}
29+
]
30+
build: [make "all" "PREFIX=%{prefix}%"]
31+
install: [
32+
[
33+
make
34+
"install"
35+
"BINDIR=%{_:bin}%"
36+
"LIBDIR=%{_:lib}%"
37+
"DOCDIR=%{_:doc}%"
38+
"SHAREDIR=%{share}%"
39+
"MANDIR=%{man}%"
40+
]
41+
[
42+
make
43+
"install-doc"
44+
"LIBDIR=%{_:lib}%"
45+
"DOCDIR=%{_:doc}%"
46+
"SHAREDIR=%{share}%"
47+
"MANDIR=%{man}%"
48+
]
49+
]
50+
dev-repo: "git+https://erratique.ch/repos/cmdliner.git"
51+
url {
52+
src: "https://erratique.ch/software/cmdliner/releases/cmdliner-2.0.0.tbz"
53+
checksum:
54+
"sha512=a7bd4eeb0cef7c08bca73b0077a65f748c19a230544133b39fc3360feb2cf0af08416a8b84031c94a2f4a007d5920a4db1368d87b9eeca561671828e2dad2885"
55+
}
56+
x-maintenance-intent: ["(latest)"]

0 commit comments

Comments
 (0)