gnu: Add ocaml-ppx-typerep-conv.

* gnu/packages/ocaml.scm (ocaml-ppx-typerep-conv): New variable.
This commit is contained in:
Julien Lepiller 2019-02-01 18:58:33 +01:00
parent f4304c1d6c
commit 48ad1181d0
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -5814,3 +5814,30 @@ (define-public ocaml-ppx-js-style
@code{lint} tool to enforce some coding conventions across all Jane Street @code{lint} tool to enforce some coding conventions across all Jane Street
packages.") packages.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public ocaml-ppx-typerep-conv
(package
(name "ocaml-ppx-typerep-conv")
(version "0.11.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/janestreet/ppx_typerep_conv.git")
(commit (string-append "v" version))))
(sha256
(base32
"0a13dpfrrg0rsm8qni1bh7pqcda30l70z8r6yzi5a64bmwk7g5ah"))))
(build-system dune-build-system)
(arguments
`(#:test-target "."))
(propagated-inputs
`(("ocaml-base" ,ocaml-base)
("ocaml-typerep" ,ocaml-typerep)
("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
("ocaml-ppxlib" ,ocaml-ppxlib)))
(properties `((upstream-name . "ppx_typerep_conv")))
(home-page "https://github.com/janestreet/ppx_typerep_conv")
(synopsis "Generation of runtime types from type declarations")
(description "This package can automatically generate runtime types
from type definitions.")
(license license:asl2.0)))