1{stdenv, buildOcaml, fetchurl, async_kernel_p4,
2 bin_prot_p4, comparelib, core_p4, fieldslib_p4, herelib, pa_ounit,
3 pipebang, pa_test, sexplib_p4}:
4
5buildOcaml rec {
6 name = "async_unix";
7 version = "112.24.00";
8
9 minimumSupportedOcamlVersion = "4.02";
10
11 src = fetchurl {
12 url = "https://github.com/janestreet/async_unix/archive/${version}.tar.gz";
13 sha256 = "d490b1dc42f0987a131fa9695b55f215ad90cdaffbfac35b7f9f88f3834337ab";
14 };
15
16 hasSharedObjects = true;
17 buildInputs = [ pa_ounit ];
18 propagatedBuildInputs = [ async_kernel_p4 core_p4 bin_prot_p4 comparelib
19 fieldslib_p4 herelib pipebang pa_test sexplib_p4 ];
20
21 meta = with stdenv.lib; {
22 homepage = https://github.com/janestreet/async_unix;
23 description = "Jane Street Capital's asynchronous execution library (unix)";
24 license = licenses.asl20;
25 maintainers = [ maintainers.ericbmerritt ];
26 };
27}