gnu: Add ocaml-core.

* gnu/packages/ocaml.scm (ocaml-core): New variable.
This commit is contained in:
Julien Lepiller 2017-05-28 15:16:28 +02:00
parent cf28a731c6
commit 4a5fd87203
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 21 additions and 0 deletions

View File

@ -2980,3 +2980,24 @@ the full Core is not available, such as in Javascript.")
(description "Async_rpc_kernel is the platform-independent core of (description "Async_rpc_kernel is the platform-independent core of
the Async RPC library.") the Async RPC library.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public ocaml-core
(package
(name "ocaml-core")
(version "113.33.03")
(source (janestreet-origin "core" version
"1znll157qg56g9d3247fjibv1hxv3r9wxgr4nhy19j2vzdh6a268"))
(native-inputs
`(("oasis" ,ocaml-oasis)
("js-build-tools" ,ocaml-js-build-tools)
("ppx-jane" ,ocaml-ppx-jane)
("opam" ,opam)))
(propagated-inputs
`(("core-kernel" ,ocaml-core-kernel)))
(build-system ocaml-build-system)
(arguments janestreet-arguments)
(home-page "https://github.com/janestreet/core/")
(synopsis "Alternative to OCaml's standard library")
(description "The Core suite of libraries is an alternative to OCaml's
standard library that was developed by Jane Street.")
(license license:asl2.0)))