[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: gnu: Add ocaml-cmdliner.
From: |
David Craven |
Subject: |
10/10: gnu: Add ocaml-cmdliner. |
Date: |
Wed, 4 Jan 2017 16:41:24 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit 6548e53fcbb125062719a9324ff65f6994e7b847
Author: Julien Lepiller <address@hidden>
Date: Fri Dec 30 11:44:15 2016 +0100
gnu: Add ocaml-cmdliner.
* gnu/packages/ocaml.scm (ocaml-cmdliner): New variable.
Signed-off-by: David Craven <address@hidden>
---
gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 8a14532..25c0815 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1182,3 +1182,33 @@ library.")
(description "Access monotonic wall-clock time. It allows to measure time
spans without being subject to operating system calendar time adjustments.")
(license license:isc)))
+
+(define-public ocaml-cmdliner
+ (package
+ (name "ocaml-cmdliner")
+ (version "0.9.8")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"http://erratique.ch/software/cmdliner/releases/"
+ "cmdliner-" version ".tbz"))
+ (sha256
+ (base32
+ "0hdxlkgiwjml9dpaa80282a8350if7mc1m6yz2mrd7gci3fszykx"))))
+ (build-system ocaml-build-system)
+ (native-inputs
+ `(("opam" ,opam)))
+ (arguments
+ `(#:tests? #f
+ #:build-flags '("native=true" "native-dynlink=true")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "http://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)))
- branch master updated (b96a064 -> 6548e53), David Craven, 2017/01/04
- 02/10: gnu: Add ocaml-qtest., David Craven, 2017/01/04
- 06/10: gnu: Add ocaml-result., David Craven, 2017/01/04
- 03/10: gnu: Add ocaml-stringext., David Craven, 2017/01/04
- 08/10: gnu: Add ocaml-rresult., David Craven, 2017/01/04
- 10/10: gnu: Add ocaml-cmdliner.,
David Craven <=
- 07/10: gnu: Add ocaml-topkg., David Craven, 2017/01/04
- 09/10: gnu: Add ocaml-mtime., David Craven, 2017/01/04
- 05/10: gnu: Add ocaml-bitstring., David Craven, 2017/01/04
- 01/10: gnu: Add ocaml-frontc., David Craven, 2017/01/04
- 04/10: gnu: Add ocaml-bisect., David Craven, 2017/01/04