lol

ocamlPackages.lwt: 5.9.1 → 5.9.2

+11 -10
+11 -4
pkgs/development/ocaml-modules/lwt/default.nix
··· 6 6 cppo, 7 7 dune-configurator, 8 8 ocplib-endian, 9 + ppxlib, 10 + version ? if lib.versionAtLeast ppxlib.version "0.36" then "5.9.2" else "5.9.1", 9 11 }: 10 12 11 - buildDunePackage rec { 13 + buildDunePackage { 12 14 pname = "lwt"; 13 - version = "5.9.1"; 15 + inherit version; 14 16 15 17 minimalOCamlVersion = "4.08"; 16 18 17 19 src = fetchFromGitHub { 18 20 owner = "ocsigen"; 19 21 repo = "lwt"; 20 - rev = version; 21 - hash = "sha256-oPYLFugMTI3a+hmnwgUcoMgn5l88NP1Roq0agLhH/vI="; 22 + tag = version; 23 + hash = 24 + { 25 + "5.9.1" = "sha256-oPYLFugMTI3a+hmnwgUcoMgn5l88NP1Roq0agLhH/vI="; 26 + "5.9.2" = "sha256-pzowRN1wwaF2iMfMPE7RCtA2XjlaXC3xD0yznriVfu8="; 27 + } 28 + ."${version}"; 22 29 }; 23 30 24 31 nativeBuildInputs = [ cppo ];
-6
pkgs/development/ocaml-modules/lwt/ppx.nix
··· 1 1 { 2 2 lib, 3 3 fetchFromGitHub, 4 - fetchpatch, 5 4 buildDunePackage, 6 5 lwt, 7 6 ppxlib, ··· 10 9 buildDunePackage { 11 10 pname = "lwt_ppx"; 12 11 inherit (lwt) version src; 13 - 14 - patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch { 15 - url = "https://github.com/ocsigen/lwt/commit/96b7ac686208968503786bb6d101f4ee84c8d2e6.patch"; 16 - hash = "sha256-uxTwNVqV0O11WEKy66fphvGqW17FWDEzEylhVYNwNnY="; 17 - }); 18 12 19 13 propagatedBuildInputs = [ 20 14 lwt