Skip to content

Commit

Permalink
Merge pull request #25924 from dbuenzli/b0-publish-cmdliner.1.3.0
Browse files Browse the repository at this point in the history
Add: cmdliner.1.3.0
  • Loading branch information
mseri authored May 23, 2024
2 parents 4cf6168 + 8b1bcef commit b602322
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions packages/cmdliner/cmdliner.1.3.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
opam-version: "2.0"
synopsis: "Declarative definition of command line interfaces for OCaml"
description: """\
Cmdliner allows the declarative definition of command line interfaces
for OCaml.

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 has no dependencies and is distributed under the ISC 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

Home page: http://erratique.ch/software/cmdliner"""
maintainer: "Daniel Bünzli <daniel.buenzl [email protected]>"
authors: "The cmdliner programmers"
license: "ISC"
tags: ["cli" "system" "declarative" "org:erratique"]
homepage: "https://erratique.ch/software/cmdliner"
doc: "https://erratique.ch/software/cmdliner/doc"
bug-reports: "https://github.com/dbuenzli/cmdliner/issues"
depends: [
"ocaml" {>= "4.08.0"}
]
build: [make "all" "PREFIX=%{prefix}%"]
install: [
[make "install" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%"]
[make "install-doc" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%"]
]
dev-repo: "git+https://erratique.ch/repos/cmdliner.git"
url {
src: "https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz"
checksum:
"sha512=4c46bc334444ff772637deae2f5ba03645d7a1b7db523470a1246acfce79b971c764d964cbb02388639b3161b279700d9ade95da550446fb32aa4849c8a8f283"
}

0 comments on commit b602322

Please sign in to comment.