From 604a9086940c2f438fdf45e4670e2c49f54539a3 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 29 Jun 2022 05:48:38 +0100 Subject: [PATCH] =?UTF-8?q?ocamlPackages.mirage-console:=204.0.0=20?= =?UTF-8?q?=E2=86=92=205.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/mirage-console/default.nix | 14 ++++++-------- .../ocaml-modules/mirage-console/unix.nix | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/ocaml-modules/mirage-console/default.nix b/pkgs/development/ocaml-modules/mirage-console/default.nix index 986084c3f54c..2fcd58973bcd 100644 --- a/pkgs/development/ocaml-modules/mirage-console/default.nix +++ b/pkgs/development/ocaml-modules/mirage-console/default.nix @@ -1,21 +1,19 @@ { lib, fetchurl, buildDunePackage -, lwt, mirage-device, mirage-flow +, lwt, mirage-flow }: buildDunePackage rec { pname = "mirage-console"; - version = "4.0.0"; + version = "5.1.0"; - minimumOCamlVersion = "4.08"; - - useDune2 = true; + minimalOCamlVersion = "4.08"; src = fetchurl { - url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-v${version}.tbz"; - sha256 = "11nwfd4kmmdzkrkhbakdi3cxhk8vi98l17960rgcf85c602gw6vp"; + url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-${version}.tbz"; + sha256 = "sha256-mjYRisbNOJbYoSuWaGoPueXakmqAwmWh0ATvLLsvpNM="; }; - propagatedBuildInputs = [ lwt mirage-device mirage-flow ]; + propagatedBuildInputs = [ lwt mirage-flow ]; meta = { description = "Implementations of Mirage console devices"; diff --git a/pkgs/development/ocaml-modules/mirage-console/unix.nix b/pkgs/development/ocaml-modules/mirage-console/unix.nix index dea613511a29..634bcc353ad3 100644 --- a/pkgs/development/ocaml-modules/mirage-console/unix.nix +++ b/pkgs/development/ocaml-modules/mirage-console/unix.nix @@ -3,7 +3,7 @@ buildDunePackage { pname = "mirage-console-unix"; - inherit (mirage-console) version src useDune2 minimumOCamlVersion; + inherit (mirage-console) version src; propagatedBuildInputs = [ mirage-console