gnu: Add ocaml-typerep.

* gnu/packages/ocaml.scm (ocaml-typerep): New variable.
This commit is contained in:
Julien Lepiller 2019-02-01 18:16:56 +01:00
parent 164b06daeb
commit a58118ca6b
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 21 additions and 0 deletions

View File

@ -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)))