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