1 { buildDunePackage, fmt, logs, mirage-flow, ocaml_lwt, cstruct
2 , alcotest, mirage-flow-combinators }:
5 pname = "mirage-flow-unix";
7 inherit (mirage-flow) version useDune2 src;
9 # Make tests compatible with alcotest 1.4.0
11 substituteInPlace test/test.ml --replace 'Fmt.kstrf Alcotest.fail' 'Fmt.kstrf (fun s -> Alcotest.fail s)'
14 propagatedBuildInputs = [ fmt logs mirage-flow ocaml_lwt cstruct ];
17 checkInputs = [ alcotest mirage-flow-combinators ];
19 meta = mirage-flow.meta // {
20 description = "Flow implementations and combinators for MirageOS on Unix";