aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ocaml.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-02-01 18:16:56 +0100
committerJulien Lepiller <julien@lepiller.eu>2019-02-05 22:33:47 +0100
commita58118ca6b1b4f971e997675ccdff5def0b0b3c3 (patch)
treecac818cf9d04597d87e6c9485c6d46402336d852 /gnu/packages/ocaml.scm
parent164b06daebe368124e22bd0d8810569b95438eeb (diff)
downloadpatches-a58118ca6b1b4f971e997675ccdff5def0b0b3c3.tar
patches-a58118ca6b1b4f971e997675ccdff5def0b0b3c3.tar.gz
gnu: Add ocaml-typerep.
* gnu/packages/ocaml.scm (ocaml-typerep): New variable.
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r--gnu/packages/ocaml.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 43a66e2ef5..549bc15610 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5515,3 +5515,24 @@ many values).")
(description
"Part of the Jane Street's PPX rewriters collection.")
(license license:asl2.0)))
+
+(define-public ocaml-typerep
+ (package
+ (name "ocaml-typerep")
+ (version "0.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
+ (version-major+minor version)
+ "/files/typerep-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1zi7hy0prpgzqhr4lkacr04wvlvbp21jfbdfvffhrm6cd400rb5v"))))
+ (build-system dune-build-system)
+ (arguments
+ `(#:tests? #f))
+ (propagated-inputs `(("ocaml-base" ,ocaml-base)))
+ (home-page "https://github.com/janestreet/typerep")
+ (synopsis "Typerep is a library for runtime types")
+ (description "Typerep is a library for runtime types.")
+ (license license:asl2.0)))