about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-11-13 17:13:05 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-11-21 07:35:51 +0000
commit6cffb5072f9ad20d3ddaa54469d9b38f8720291c (patch)
tree954d94fa6aa4edb6db5ae74757aba2a97e909ccf /pkgs
parentb94b8ca3878df09f79d42f197bd7c9bf2740bae7 (diff)
downloadnixlib-6cffb5072f9ad20d3ddaa54469d9b38f8720291c.tar
nixlib-6cffb5072f9ad20d3ddaa54469d9b38f8720291c.tar.gz
nixlib-6cffb5072f9ad20d3ddaa54469d9b38f8720291c.tar.bz2
nixlib-6cffb5072f9ad20d3ddaa54469d9b38f8720291c.tar.lz
nixlib-6cffb5072f9ad20d3ddaa54469d9b38f8720291c.tar.xz
nixlib-6cffb5072f9ad20d3ddaa54469d9b38f8720291c.tar.zst
nixlib-6cffb5072f9ad20d3ddaa54469d9b38f8720291c.zip
ocamlPackages.lwt4: 4.2.1 → 4.4.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/lwt/4.x.nix15
1 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/development/ocaml-modules/lwt/4.x.nix b/pkgs/development/ocaml-modules/lwt/4.x.nix
index 4850a853ea04..3ec3574ea096 100644
--- a/pkgs/development/ocaml-modules/lwt/4.x.nix
+++ b/pkgs/development/ocaml-modules/lwt/4.x.nix
@@ -1,5 +1,5 @@
 { lib, fetchzip, pkgconfig, ncurses, libev, buildDunePackage, ocaml
-, cppo, ocaml-migrate-parsetree, ppx_tools_versioned, result
+, cppo, ocaml-migrate-parsetree, ocplib-endian, result
 , mmap, seq
 }:
 
@@ -7,22 +7,17 @@ let inherit (lib) optional versionAtLeast; in
 
 buildDunePackage rec {
   pname = "lwt";
-  version = "4.2.1";
+  version = "4.4.0";
 
   src = fetchzip {
     url = "https://github.com/ocsigen/${pname}/archive/${version}.tar.gz";
-    sha256 = "1hz24fyhpm7d6603v399pgxvdl236srwagqja41ljvjx83y10ysr";
+    sha256 = "1l97zdcql7y13fhaq0m9n9xvxf712jg0w70r72fvv6j49xm4nlhi";
   };
 
-  postPatch = ''
-    substituteInPlace lwt.opam \
-    --replace 'version: "dev"' 'version: "${version}"'
-  '';
-
   nativeBuildInputs = [ pkgconfig ];
-  buildInputs = [ cppo ocaml-migrate-parsetree ppx_tools_versioned ]
+  buildInputs = [ cppo ocaml-migrate-parsetree ]
    ++ optional (!versionAtLeast ocaml.version "4.07") ncurses;
-  propagatedBuildInputs = [ libev mmap seq result ];
+  propagatedBuildInputs = [ libev mmap ocplib-endian seq result ];
 
   meta = {
     homepage = "https://ocsigen.org/lwt/";