about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2022-07-03 13:43:26 -0300
committerGitHub <noreply@github.com>2022-07-03 13:43:26 -0300
commitc9808f8a61ed1d20d403a54b313b5388590d697c (patch)
tree1a525f67158b4d4556a482fb03f085de289eed0b /pkgs/development/ocaml-modules
parent8507922b3befc080a43a6732888d00348332d746 (diff)
parent162c51e86fe800eb3cc4e6b3de6645f7dbd34121 (diff)
Merge pull request #179292 from vbgl/ocaml-mirage-channel-4.1.0
ocamlPackages.mirage-channel: 4.0.1 → 4.1.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/mirage-channel/default.nix13
1 files changed, 4 insertions, 9 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-channel/default.nix b/pkgs/development/ocaml-modules/mirage-channel/default.nix
index 227e821e19242..bdafeb4305498 100644
--- a/pkgs/development/ocaml-modules/mirage-channel/default.nix
+++ b/pkgs/development/ocaml-modules/mirage-channel/default.nix
@@ -5,20 +5,15 @@
 
 buildDunePackage rec {
   pname = "mirage-channel";
-  version = "4.0.1";
+  version = "4.1.0";
 
-  useDune2 = true;
+  minimalOCamlVersion = "4.07";
 
   src = fetchurl {
-    url = "https://github.com/mirage/mirage-channel/releases/download/v${version}/mirage-channel-v${version}.tbz";
-    sha256 = "0wmb2zhiyp8n78xgcspcsyd19bhcml3kyli2caw3778wc1gyvfpc";
+    url = "https://github.com/mirage/mirage-channel/releases/download/v${version}/mirage-channel-${version}.tbz";
+    sha256 = "sha256-sBdoUdTd9ZeNcHK0IBGBeOYDDqULM7EYX+Pz2f2nIQA=";
   };
 
-  # Make tests compatible with alcotest 1.4.0
-  postPatch = ''
-    substituteInPlace test/test_channel.ml --replace 'Fmt.kstrf Alcotest.fail' 'Fmt.kstrf (fun s -> Alcotest.fail s)'
-  '';
-
   propagatedBuildInputs = [ cstruct logs lwt mirage-flow ];
 
   doCheck = true;