diff options
author | sternenseemann <git@lukasepple.de> | 2020-04-13 15:51:58 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-04-14 18:15:10 +0200 |
commit | f234b2bce737c139d7d31541522572c279168ae4 (patch) | |
tree | 2b27009b339931dbd8d4cfef18df2c3a31e09f0b /pkgs/development/ocaml-modules | |
parent | 7538b796074e613d39aefebe613f9c31bb7be662 (diff) |
ocamlPackages.mirage-flow-unix/-combinators: init at 2.0.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/mirage-flow/combinators.nix | 13 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/mirage-flow/unix.nix | 17 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-flow/combinators.nix b/pkgs/development/ocaml-modules/mirage-flow/combinators.nix new file mode 100644 index 0000000000000..2ad6e5b0b974c --- /dev/null +++ b/pkgs/development/ocaml-modules/mirage-flow/combinators.nix @@ -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"; + }; +} diff --git a/pkgs/development/ocaml-modules/mirage-flow/unix.nix b/pkgs/development/ocaml-modules/mirage-flow/unix.nix new file mode 100644 index 0000000000000..7a20ca87f8f35 --- /dev/null +++ b/pkgs/development/ocaml-modules/mirage-flow/unix.nix @@ -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"; + }; +} |