gnu: Add ocaml-ppx-sexp-value.

* gnu/packages/ocaml.scm (ocaml-ppx-sexp-value): New variable.
This commit is contained in:
Julien Lepiller 2019-02-01 18:20:21 +01:00
parent a58118ca6b
commit e93281507d
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -5536,3 +5536,29 @@ (define-public ocaml-typerep
(synopsis "Typerep is a library for runtime types") (synopsis "Typerep is a library for runtime types")
(description "Typerep is a library for runtime types.") (description "Typerep is a library for runtime types.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public ocaml-ppx-sexp-value
(package
(name "ocaml-ppx-sexp-value")
(version "0.11.0")
(source (origin
(method url-fetch)
(uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
(version-major+minor version)
"/files/ppx_sexp_value-v" version ".tar.gz"))
(sha256
(base32
"1xnalfrln6k5khsyxvxkg6v32q8fpr4cqamsjqfih29jdv486xrs"))))
(build-system dune-build-system)
(propagated-inputs
`(("ocaml-base" ,ocaml-base)
("ocaml-ppx-here" ,ocaml-ppx-here)
("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv)
("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
("ocaml-ppxlib" ,ocaml-ppxlib)))
(properties `((upstream-name . "ppx_sexp_value")))
(home-page "https://github.com/janestreet/ppx_sexp_value")
(synopsis "Simplify building s-expressions from ocaml values")
(description "A ppx rewriter that simplifies building s-expressions from
ocaml values.")
(license license:asl2.0)))