-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
39 lines (36 loc) · 1.47 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
homepage: "http://erratique.ch/software/cmdliner"
#dev-repo: "http://erratique.ch/repos/cmdliner.git"
authors: ["Daniel Bünzli <daniel.buenzli i@erratique.ch>"]
doc: "http://erratique.ch/software/cmdliner/doc/Cmdliner"
tags: [ "cli" "system" "declarative" ]
license: "BSD-3-Clause"
depends: [
"ocaml" {>= "3.12.0" & < "4.06.0"}
"ocamlfind"
"ocamlbuild" {build}
]
build:
[
["ocaml" "pkg/git.ml" ]
["ocaml" "pkg/build.ml" "native=true" # TODO fixme
"native-dynlink=true" ] # TODO fixme
]
synopsis: "Declarative definition of command line interfaces for OCaml"
description: """
Cmdliner is a module for the declarative definition of command line
interfaces.
It provides a simple and compositional mechanism to convert command
line arguments to OCaml values and pass them to your functions. The
module automatically handles syntax errors, help messages and UNIX man
page generation. It supports programs with single or multiple commands
and respects most of the [POSIX][1] and [GNU][2] conventions.
Cmdliner is made of a single independent module and distributed under
the BSD3 license.
[1]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html
[2]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html"""
url {
src: "http://erratique.ch/software/cmdliner/releases/cmdliner-0.9.5.tbz"
checksum: "md5=a5195004312cd99bacde7de232bab73b"
}