[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/40: gnu: Add ocaml-variantslib.
From: |
guix-commits |
Subject: |
09/40: gnu: Add ocaml-variantslib. |
Date: |
Tue, 5 Feb 2019 16:34:53 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit d9f8433e170d7024a1763a2983db4f357acf81fa
Author: Julien Lepiller <address@hidden>
Date: Fri Feb 1 16:50:21 2019 +0100
gnu: Add ocaml-variantslib.
* gnu/packages/ocaml.scm (ocaml-variantslib): New variable.
---
gnu/packages/ocaml.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 54a451a..08ead1d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5221,3 +5221,30 @@ by making sure that you only compare comparable values.")
record fields, to get and set record fields, iterate and fold over all fields
of a record and create new record values.")
(license license:asl2.0)))
+
+(define-public ocaml-variantslib
+ (package
+ (name "ocaml-variantslib")
+ (version "0.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
+ (version-major+minor version)
+ "/files/variantslib-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hsdwmkslvk4cznqr4lyyiy7vvk5spil226k0z2in26fxq6y0hf3"))))
+ (build-system dune-build-system)
+ (arguments
+ ;; No tests
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
+ ("ocaml-ppxlib" ,ocaml-ppxlib)))
+ (properties `((upstream-name . "variantslib")))
+ (home-page "https://github.com/janestreet/variantslib")
+ (synopsis "OCaml variants as first class values")
+ (description "The Core suite of libraries is an alternative to OCaml's
+standard library.")
+ (license license:asl2.0)))
- 23/40: gnu: Add ocaml-ppx-pipebang., (continued)
- 23/40: gnu: Add ocaml-ppx-pipebang., guix-commits, 2019/02/05
- 17/40: gnu: Add ocaml-ppx-enumerate., guix-commits, 2019/02/05
- 19/40: gnu: Add ocaml-ppx-here., guix-commits, 2019/02/05
- 08/40: gnu: Add ocaml-fieldslib., guix-commits, 2019/02/05
- 26/40: gnu: Add ocaml-ppx-let., guix-commits, 2019/02/05
- 12/40: gnu: Add ocaml-ppx-variants-conv., guix-commits, 2019/02/05
- 21/40: gnu: Add ocaml-ppx-sexp-value., guix-commits, 2019/02/05
- 06/40: gnu: ocaml: Use propagated-inputs., guix-commits, 2019/02/05
- 22/40: gnu: Add ocaml-ppx-sexp-message., guix-commits, 2019/02/05
- 18/40: gnu: Add ocaml-ppx-bench., guix-commits, 2019/02/05
- 09/40: gnu: Add ocaml-variantslib.,
guix-commits <=
- 20/40: gnu: Add ocaml-typerep., guix-commits, 2019/02/05
- 11/40: gnu: Add ocaml-ppx-sexp-conv., guix-commits, 2019/02/05
- 13/40: gnu: Add ocaml-ppx-custom-printf., guix-commits, 2019/02/05
- 07/40: gnu: Add ocaml-ppx-compare., guix-commits, 2019/02/05
- 04/40: gnu: ocaml-ppx-derivers: Add upstream-name., guix-commits, 2019/02/05
- 14/40: gnu: Add ocaml-bin-prot., guix-commits, 2019/02/05
- 10/40: gnu: Add ocaml-ppx-fields-conv., guix-commits, 2019/02/05
- 02/40: import: opam: Fix conditions., guix-commits, 2019/02/05
- 03/40: import: opam: Replace "_" with "-" in imported names., guix-commits, 2019/02/05
- 01/40: gnu: unison: Update to 2.51.1., guix-commits, 2019/02/05