gnu: Add ocaml-async.

* gnu/packages/ocaml.scm (ocaml-async): New variable.
This commit is contained in:
Julien Lepiller 2017-05-28 15:27:17 +02:00
parent d7f6d048b1
commit 84470902dc
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 20 additions and 0 deletions

View File

@ -3045,3 +3045,23 @@ standard library that was developed by Jane Street.")
(description "Async_extra provides additional functionnalities for the
async library.")
(license license:asl2.0)))
(define-public ocaml-async
(package
(name "ocaml-async")
(version "113.33.03")
(source (janestreet-origin "async" version
"0210fyhcs12kpmmd26015bgivkfd2wqkyn3c5wd7688d0f872y25"))
(native-inputs
`(("oasis" ,ocaml-oasis)
("js-build-tools" ,ocaml-js-build-tools)
("ppx-jane" ,ocaml-ppx-jane)
("opam" ,opam)))
(propagated-inputs
`(("async-extra" ,ocaml-async-extra)))
(build-system ocaml-build-system)
(arguments janestreet-arguments)
(home-page "https://github.com/janestreet/async")
(synopsis "Monadic concurrency library")
(description "Async is a library for concurrent programming in OCaml.")
(license license:asl2.0)))