aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2016-12-30 19:23:34 +0100
committerJulien Lepiller <julien@lepiller.eu>2017-03-14 22:09:37 +0100
commitd1d90df63b57faefd2bd938302225e1f26ffb774 (patch)
tree0fc405b6e7bef49c01601e0bf22b8c91d1cc3322 /gnu/packages
parentef0051b2c5a5d97d3a699a960e8d2d774879d07d (diff)
downloadguix-d1d90df63b57faefd2bd938302225e1f26ffb774.tar
guix-d1d90df63b57faefd2bd938302225e1f26ffb774.tar.gz
gnu: Add ocaml-variantslib.
* gnu/packages/ocaml.scm (ocaml-variantslib): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ocaml.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index ce6c7fb8c4..ed77b468f8 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2313,3 +2313,19 @@ s-expressions.")
(synopsis "Typerep is a library for runtime types")
(description "Typerep is a library for runtime types.")
(license license:asl2.0)))
+
+(define-public ocaml-variantslib
+ (package
+ (name "ocaml-variantslib")
+ (version "113.33.03")
+ (source (janestreet-origin "variantslib" version
+ "05vp799vl38fvl98ga5miwbzh09cnnpapi6q6gdvwyqi6w7s919n"))
+ (native-inputs
+ `(("js-build-tools" ,ocaml-js-build-tools)
+ ("opam" ,opam)))
+ (build-system ocaml-build-system)
+ (arguments janestreet-arguments)
+ (home-page "https://github.com/janestreet/variantslib")
+ (synopsis "OCaml variants as first class values")
+ (description "OCaml variants as first class values.")
+ (license license:asl2.0)))