mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: ocaml5: Add ocaml-cmdliner.
* gnu/packages/ocaml5.scm (ocaml-cmdliner): New variable. Change-Id: I6f6b8004c5bd702202a66b06c6f9fd305507007f Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
4812e42846
commit
a7bf87de9d
1 changed files with 26 additions and 0 deletions
|
|
@ -355,6 +355,32 @@ compatibility with older compiler to use these new features in their code.")
|
|||
;; with ocaml-linking exception
|
||||
(license license:lgpl2.1+)))
|
||||
|
||||
(define-public ocaml-cmdliner
|
||||
(package
|
||||
(name "ocaml5-cmdliner")
|
||||
(version "1.3.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://erratique.ch/software/cmdliner/releases/"
|
||||
"cmdliner-" version ".tbz"))
|
||||
(sha256
|
||||
(base32 "1fwc2rj6xfyihhkx4cn7zs227a74rardl262m2kzch5lfgsq10cf"))))
|
||||
(build-system dune-build-system)
|
||||
(inputs (list ocaml-result))
|
||||
(arguments
|
||||
`(#:tests? #f))
|
||||
(home-page "https://erratique.ch/software/cmdliner")
|
||||
(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 and GNU conventions.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public ocaml5.3-dune-bootstrap
|
||||
(package
|
||||
(name "ocaml5.3-dune")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue