Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 eio, 6 lwt, 7}: 8buildDunePackage rec { 9 pname = "lwt_eio"; 10 version = "0.5.1"; 11 12 minimalOCamlVersion = "5.1"; 13 14 src = fetchurl { 15 url = "https://github.com/ocaml-multicore/${pname}/releases/download/v${version}/${pname}-${version}.tbz"; 16 hash = "sha256-dlJnhHh4VNO60NZJZqc1HS8wPR95WhdeBJTK37pPbCE="; 17 }; 18 19 propagatedBuildInputs = [ 20 eio 21 lwt 22 ]; 23 24 meta = { 25 homepage = "https://github.com/ocaml-multicore/${pname}"; 26 changelog = "https://github.com/ocaml-multicore/${pname}/raw/v${version}/CHANGES.md"; 27 description = "Use Lwt libraries from within Eio"; 28 license = with lib.licenses; [ isc ]; 29 }; 30}