1 { lib, buildDunePackage, ocaml, fetchurl
13 url = "https://github.com/aantron/luv/releases/download/${version}/luv-${version}.tar.gz";
14 sha256 = "sha256-zOz0cxGzhLi3Q36qyStNCz8JGXHtECQfZysMKiyKOkM=";
18 for f in src/c/vendor/configure/{ltmain.sh,configure}; do
19 substituteInPlace "$f" --replace /usr/bin/file file
23 nativeBuildInputs = [ file ];
24 propagatedBuildInputs = [ ctypes result ];
25 checkInputs = [ alcotest ];
26 doCheck = lib.versionAtLeast ocaml.version "4.08";
29 homepage = "https://github.com/aantron/luv";
30 description = "Binding to libuv: cross-platform asynchronous I/O";
31 # MIT-licensed, extra licenses apply partially to libuv vendor
32 license = with licenses; [ mit bsd2 bsd3 cc-by-sa-40 ];
33 maintainers = with maintainers; [ locallycompact sternenseemann ];