[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: Add ocaml-rresult.
From: |
David Craven |
Subject: |
08/10: gnu: Add ocaml-rresult. |
Date: |
Wed, 4 Jan 2017 16:41:24 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit 63147e5e1e088a266779f2572f5177ba085e3157
Author: Julien Lepiller <address@hidden>
Date: Fri Dec 30 11:41:50 2016 +0100
gnu: Add ocaml-rresult.
* gnu/packages/ocaml.scm (ocaml-rresult): 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 d8c6fcf..7c57c5a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1123,3 +1123,33 @@ provides an API to describe the files a package installs
in a given build
configuration and to specify information about the package's distribution,
creation and publication procedures.")
(license license:isc)))
+
+(define-public ocaml-rresult
+ (package
+ (name "ocaml-rresult")
+ (version "0.5.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"http://erratique.ch/software/rresult/releases/"
+ "rresult-" version ".tbz"))
+ (sha256
+ (base32
+ "1xxycxhdhaq8p9vhwi93s2mlxjwgm44fcxybx5vghzgbankz9yhm"))))
+ (build-system ocaml-build-system)
+ (native-inputs
+ `(("opam" ,opam)))
+ (propagated-inputs
+ `(("topkg" ,ocaml-topkg)))
+ (arguments
+ `(#:tests? #f
+ #:build-flags '("build")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "http://erratique.ch/software/rresult")
+ (synopsis "Result value combinators for OCaml")
+ (description "Handle computation results and errors in an explicit and
+declarative manner, without resorting to exceptions. It defines combinators
+to operate on the result type available from OCaml 4.03 in the standard
+library.")
+ (license license:isc)))
- 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 <=
- 10/10: gnu: Add ocaml-cmdliner., David Craven, 2017/01/04
- 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