1{stdenv, buildOcaml, fetchurl, core_kernel,
2 bin_prot, fieldslib, pa_ounit, pa_test,
3 sexplib, herelib}:
4
5buildOcaml rec {
6 name = "async_kernel";
7 version = "112.24.00";
8
9 minimumSupportedOcamlVersion = "4.02";
10
11 src = fetchurl {
12 url = "https://github.com/janestreet/async_kernel/archive/${version}.tar.gz";
13 sha256 = "95caf4249b55c5a6b38da56e314845e9ea9a0876eedd4cf0ddcb6c8dd660c6a0";
14 };
15
16 buildInputs = [ pa_test pa_ounit ];
17 propagatedBuildInputs = [ core_kernel bin_prot fieldslib herelib sexplib ];
18
19 meta = with stdenv.lib; {
20 homepage = https://github.com/janestreet/async_kernel;
21 description = "Jane Street Capital's asynchronous execution library (core) ";
22 license = licenses.asl20;
23 maintainers = [ maintainers.ericbmerritt ];
24 };
25}