ocamlPackages.mirage-console: use Dune 3

This commit is contained in:
Vincent Laporte 2023-03-28 08:57:35 +02:00
parent 7da5c6a303
commit 8fdf8ee81c
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 4 additions and 1 deletions

View file

@ -7,10 +7,11 @@ buildDunePackage rec {
version = "5.1.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-${version}.tbz";
sha256 = "sha256-mjYRisbNOJbYoSuWaGoPueXakmqAwmWh0ATvLLsvpNM=";
hash = "sha256-mjYRisbNOJbYoSuWaGoPueXakmqAwmWh0ATvLLsvpNM=";
};
propagatedBuildInputs = [ lwt mirage-flow ];

View file

@ -5,6 +5,8 @@ buildDunePackage {
inherit (mirage-console) version src;
duneVersion = "3";
propagatedBuildInputs = [
mirage-console
cstruct