From 099dccddc9b02f23a8434e75f7c6480a9e554217 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 2 Mar 2023 04:42:24 +0000 Subject: [PATCH] =?UTF-8?q?ocamlPackages.mirage-kv:=203.0.1=20=E2=86=92=20?= =?UTF-8?q?4.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/mirage-kv/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/ocaml-modules/mirage-kv/default.nix b/pkgs/development/ocaml-modules/mirage-kv/default.nix index 20d83e16641..d32a9e3935e 100644 --- a/pkgs/development/ocaml-modules/mirage-kv/default.nix +++ b/pkgs/development/ocaml-modules/mirage-kv/default.nix @@ -1,20 +1,22 @@ { lib, fetchurl, buildDunePackage -, fmt, mirage-device +, fmt +, lwt , alcotest }: buildDunePackage rec { pname = "mirage-kv"; - version = "3.0.1"; + version = "4.0.1"; - useDune2 = true; + duneVersion = "3"; + minimalOCamlVersion = "4.08"; src = fetchurl { - url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-v${version}.tbz"; - sha256 = "1n736sjvdd8rkbc2b5jm9sn0w6hvhjycma5328r0l03v24vk5cki"; + url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-${version}.tbz"; + hash = "sha256-p6i4zUVgxtTnUiBIjb8W6u9xRTczVl4WwfFcl5tVqnE="; }; - propagatedBuildInputs = [ fmt mirage-device ]; + propagatedBuildInputs = [ fmt lwt ]; doCheck = true; checkInputs = [ alcotest ];