2015-09-06 20:15:10 +01:00
|
|
|
{stdenv, buildOcaml, fetchurl, core_kernel,
|
|
|
|
bin_prot, fieldslib, pa_ounit, pa_test,
|
2015-05-15 15:30:39 +01:00
|
|
|
sexplib, herelib}:
|
|
|
|
|
|
|
|
buildOcaml rec {
|
2015-09-06 20:15:10 +01:00
|
|
|
name = "async_kernel";
|
2015-05-15 15:30:39 +01:00
|
|
|
version = "112.24.00";
|
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.02";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/async_kernel/archive/${version}.tar.gz";
|
|
|
|
sha256 = "95caf4249b55c5a6b38da56e314845e9ea9a0876eedd4cf0ddcb6c8dd660c6a0";
|
|
|
|
};
|
|
|
|
|
2015-09-06 20:15:10 +01:00
|
|
|
buildInputs = [ pa_test pa_ounit ];
|
|
|
|
propagatedBuildInputs = [ core_kernel bin_prot fieldslib herelib sexplib ];
|
2015-05-15 15:30:39 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/janestreet/async_kernel;
|
|
|
|
description = "Jane Street Capital's asynchronous execution library (core) ";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|