ocamlPackages.mirage-flow-unix/-combinators: init at 2.0.1
This commit is contained in:
parent
7538b79607
commit
f234b2bce7
13
pkgs/development/ocaml-modules/mirage-flow/combinators.nix
Normal file
13
pkgs/development/ocaml-modules/mirage-flow/combinators.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ buildDunePackage, mirage-flow, fmt, ocaml_lwt, logs, cstruct, mirage-clock }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-flow-combinators";
|
||||
|
||||
inherit (mirage-flow) version src;
|
||||
|
||||
propagatedBuildInputs = [ ocaml_lwt logs cstruct mirage-clock mirage-flow ];
|
||||
|
||||
meta = mirage-flow.meta // {
|
||||
description = "Flow implementations and combinators for MirageOS specialized to lwt";
|
||||
};
|
||||
}
|
17
pkgs/development/ocaml-modules/mirage-flow/unix.nix
Normal file
17
pkgs/development/ocaml-modules/mirage-flow/unix.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ buildDunePackage, fmt, logs, mirage-flow, ocaml_lwt, cstruct
|
||||
, alcotest, mirage-flow-combinators }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-flow-unix";
|
||||
|
||||
inherit (mirage-flow) version src;
|
||||
|
||||
propagatedBuildInputs = [ fmt logs mirage-flow ocaml_lwt cstruct ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest mirage-flow-combinators ];
|
||||
|
||||
meta = mirage-flow.meta // {
|
||||
description = "Flow implementations and combinators for MirageOS on Unix";
|
||||
};
|
||||
}
|
@ -550,6 +550,10 @@ let
|
||||
|
||||
mirage-flow = callPackage ../development/ocaml-modules/mirage-flow { };
|
||||
|
||||
mirage-flow-combinators = callPackage ../development/ocaml-modules/mirage-flow/combinators.nix { };
|
||||
|
||||
mirage-flow-unix = callPackage ../development/ocaml-modules/mirage-flow/unix.nix { };
|
||||
|
||||
mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
|
||||
|
||||
mirage-random = callPackage ../development/ocaml-modules/mirage-random { };
|
||||
|
Loading…
Reference in New Issue
Block a user