summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/resto/json.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/resto/json.nix')
-rw-r--r--pkgs/development/ocaml-modules/resto/json.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/resto/json.nix b/pkgs/development/ocaml-modules/resto/json.nix
new file mode 100644
index 00000000000..e861cac6d31
--- /dev/null
+++ b/pkgs/development/ocaml-modules/resto/json.nix
@@ -0,0 +1,12 @@
+{ lib, buildDunePackage, resto, json-data-encoding, json-data-encoding-bson }:
+
+buildDunePackage {
+  pname = "resto-json";
+  inherit (resto) src version meta useDune2 doCheck;
+
+  propagatedBuildInputs = [
+    resto
+    json-data-encoding
+    json-data-encoding-bson
+  ];
+}