about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-01-17 12:58:24 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2021-01-24 17:38:11 +0100
commit2483ca4c6277e217f845bc3a76681122745dbc2e (patch)
tree5aa3e1a2556e81a83db37bd657e41a263a55e6c3 /pkgs/development/ocaml-modules
parent0378fedc17a8e359650d6dce5d9839621b09f102 (diff)
downloadnixlib-2483ca4c6277e217f845bc3a76681122745dbc2e.tar
nixlib-2483ca4c6277e217f845bc3a76681122745dbc2e.tar.gz
nixlib-2483ca4c6277e217f845bc3a76681122745dbc2e.tar.bz2
nixlib-2483ca4c6277e217f845bc3a76681122745dbc2e.tar.lz
nixlib-2483ca4c6277e217f845bc3a76681122745dbc2e.tar.xz
nixlib-2483ca4c6277e217f845bc3a76681122745dbc2e.tar.zst
nixlib-2483ca4c6277e217f845bc3a76681122745dbc2e.zip
ocamlPackages.cohttp-mirage: init at 2.5.4
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/cohttp/mirage.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/cohttp/mirage.nix b/pkgs/development/ocaml-modules/cohttp/mirage.nix
new file mode 100644
index 000000000000..e7b172349cb9
--- /dev/null
+++ b/pkgs/development/ocaml-modules/cohttp/mirage.nix
@@ -0,0 +1,20 @@
+{ buildDunePackage, cohttp, cohttp-lwt
+, mirage-flow, mirage-channel, mirage-kv
+, conduit, conduit-mirage, lwt
+, astring, magic-mime
+}:
+
+buildDunePackage {
+  pname = "cohttp-mirage";
+
+  inherit (cohttp) version src minimumOCamlVersion useDune2;
+
+  propagatedBuildInputs = [
+    mirage-flow mirage-channel conduit conduit-mirage mirage-kv
+    lwt cohttp cohttp-lwt astring magic-mime
+  ];
+
+  meta = cohttp.meta // {
+    description = "CoHTTP implementation for the MirageOS unikernel";
+  };
+}