diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-01-17 12:58:09 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-01-24 17:38:11 +0100 |
commit | 0378fedc17a8e359650d6dce5d9839621b09f102 (patch) | |
tree | 8592ceec7737f21adc4b6d61d3d130f128f36532 /pkgs | |
parent | 3b363283a53e279b027027b8101f43f1671a2000 (diff) | |
download | nixpkgs-0378fedc17a8e359650d6dce5d9839621b09f102.tar nixpkgs-0378fedc17a8e359650d6dce5d9839621b09f102.tar.gz nixpkgs-0378fedc17a8e359650d6dce5d9839621b09f102.tar.bz2 nixpkgs-0378fedc17a8e359650d6dce5d9839621b09f102.tar.lz nixpkgs-0378fedc17a8e359650d6dce5d9839621b09f102.tar.xz nixpkgs-0378fedc17a8e359650d6dce5d9839621b09f102.tar.zst nixpkgs-0378fedc17a8e359650d6dce5d9839621b09f102.zip |
ocamlPackages.conduit-mirage: init at 2.2.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/conduit/mirage.nix | 24 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 2 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/conduit/mirage.nix b/pkgs/development/ocaml-modules/conduit/mirage.nix new file mode 100644 index 00000000000..6100908f785 --- /dev/null +++ b/pkgs/development/ocaml-modules/conduit/mirage.nix @@ -0,0 +1,24 @@ +{ buildDunePackage, conduit-lwt +, ppx_sexp_conv, sexplib, cstruct, mirage-stack, mirage-flow +, mirage-flow-combinators, mirage-random, mirage-time, mirage-clock +, dns-client, vchan, xenstore, tls, tls-mirage, ipaddr, ipaddr-sexp +}: + +buildDunePackage { + pname = "conduit-mirage"; + + inherit (conduit-lwt) version src minimumOCamlVersion useDune2; + + nativeBuildInputs = [ ppx_sexp_conv ]; + + propagatedBuildInputs = [ + sexplib cstruct mirage-stack mirage-clock mirage-flow + mirage-flow-combinators mirage-random mirage-time + dns-client conduit-lwt vchan xenstore tls tls-mirage + ipaddr ipaddr-sexp + ]; + + meta = conduit-lwt.meta // { + description = "A network connection establishment library for MirageOS"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index af9f5a671c3..c3dbb3be257 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -154,6 +154,8 @@ let conduit-lwt-unix = callPackage ../development/ocaml-modules/conduit/lwt-unix.nix { }; + conduit-mirage = callPackage ../development/ocaml-modules/conduit/mirage.nix { }; + config-file = callPackage ../development/ocaml-modules/config-file { }; containers = callPackage ../development/ocaml-modules/containers { }; |