@@ -1,5 +1,5 @@
11{ lib, fetchzip, pkgconfig, ncurses, libev, buildDunePackage, ocaml
2−, cppo, ocaml-migrate-parsetree, ppx_tools_versioned, result
2+, cppo, ocaml-migrate-parsetree, ocplib-endian, result
33, mmap, seq
44}:
55
@@ -7,22 +7,17 @@ let inherit (lib) optional versionAtLeast; in
77
88buildDunePackage rec {
99 pname = "lwt";
10− version = "4.2.1";
10+ version = "4.4.0";
1111
1212 src = fetchzip {
1313 url = "https://github.com/ocsigen/${pname}/archive/${version}.tar.gz";
14− sha256 = "1hz24fyhpm7d6603v399pgxvdl236srwagqja41ljvjx83y10ysr";
14+ sha256 = "1l97zdcql7y13fhaq0m9n9xvxf712jg0w70r72fvv6j49xm4nlhi";
1515 };
1616
17− postPatch = ''
18− substituteInPlace lwt.opam \
19− --replace 'version: "dev"' 'version: "${version}"'
20− '';
21−
2217 nativeBuildInputs = [ pkgconfig ];
23− buildInputs = [ cppo ocaml-migrate-parsetree ppx_tools_versioned ]
18+ buildInputs = [ cppo ocaml-migrate-parsetree ]
2419 ++ optional (!versionAtLeast ocaml.version "4.07") ncurses;
25− propagatedBuildInputs = [ libev mmap seq result ];
20+ propagatedBuildInputs = [ libev mmap ocplib-endian seq result ];
2621
2722 meta = {
2823 homepage = "https://ocsigen.org/lwt/";