[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 17/96] gnu: Add ocaml-result
From: |
Julien Lepiller |
Subject: |
[PATCH 17/96] gnu: Add ocaml-result |
Date: |
Tue, 3 Jan 2017 20:10:58 +0100 |
* gnu/packages/ocaml.scm (ocaml-result): New variable.
---
gnu/packages/ocaml.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 9814e10d2..335a81c88 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1027,3 +1027,23 @@ and generate binary formats, files and protocols.
Bitstring handling is added
as primitives to the language, making it exceptionally simple to use and very
powerful.")
(license license:isc)))
+
+(define-public ocaml-result
+ (package
+ (name "ocaml-result")
+ (version "1.2")
+ (home-page "https://github.com/janestreet/result/")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append home-page "/archive/" version ".tar.gz"))
+ (sha256 (base32
+ "1pgpfsgvhxnh0i37fkvp9j8nadns9hz9iqgabj4dr519j2gr1xvw"))))
+ (build-system ocaml-build-system)
+ (arguments `(#:phases (modify-phases %standard-phases (delete 'configure))
+ #:tests? #f))
+ (synopsis "Compatibility Result module")
+ (description "Uses the new result type defined in OCaml >= 4.03 while
+staying compatible with older version of OCaml should use the Result module
+defined in this library.")
+ (license license:bsd-3)))
--
2.11.0
- Re: [PATCH 10/96] gnu: Add ocamlmod., (continued)
- [PATCH 11/96] gnu: Add ocaml-zarith., Julien Lepiller, 2017/01/03
- [PATCH 12/96] gnu: Add ocaml-frontc, Julien Lepiller, 2017/01/03
- [PATCH 13/96] gnu: Add ocaml-qtest, Julien Lepiller, 2017/01/03
- [PATCH 14/96] gnu: Add ocaml-stringext, Julien Lepiller, 2017/01/03
- [PATCH 15/96] gnu: Add ocaml-bisect, Julien Lepiller, 2017/01/03
- [PATCH 17/96] gnu: Add ocaml-result,
Julien Lepiller <=
- [PATCH 16/96] gnu: Add ocaml-bitstring, Julien Lepiller, 2017/01/03
- [PATCH 18/96] gnu: Add ocaml-topkg, Julien Lepiller, 2017/01/03
- [PATCH 19/96] gnu: Add ocaml-rresult, Julien Lepiller, 2017/01/03
- [PATCH 20/96] gnu: Add ocaml-mtime, Julien Lepiller, 2017/01/03
- [PATCH 21/96] gnu: Add ocaml-cmdliner, Julien Lepiller, 2017/01/03
- [PATCH 22/96] gnu: Add ocaml-fmt, Julien Lepiller, 2017/01/03
- [PATCH 23/96] gnu: Add ocaml-astring, Julien Lepiller, 2017/01/03
- [PATCH 24/96] gnu: Add ocaml-alcotest, Julien Lepiller, 2017/01/03
- [PATCH 25/96] gnu: Add ocaml-ppx-tools, Julien Lepiller, 2017/01/03
- [PATCH 26/96] gnu: Add ocaml-react, Julien Lepiller, 2017/01/03