summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/resto/json.nix
diff options
context:
space:
mode:
authorUlrik Strid <ulrik.strid@outlook.com>2021-07-15 09:34:54 +0200
committerGitHub <noreply@github.com>2021-07-15 09:34:54 +0200
commit0f4cee585abe6290aae9fc744108e39814a1eb75 (patch)
tree319d4362c1f6b4d08509f7343571c99e4a8470b5 /pkgs/development/ocaml-modules/resto/json.nix
parentf314e2c1414185abaa58f4fcacf54a290379462c (diff)
downloadnixpkgs-0f4cee585abe6290aae9fc744108e39814a1eb75.tar
nixpkgs-0f4cee585abe6290aae9fc744108e39814a1eb75.tar.gz
nixpkgs-0f4cee585abe6290aae9fc744108e39814a1eb75.tar.bz2
nixpkgs-0f4cee585abe6290aae9fc744108e39814a1eb75.tar.lz
nixpkgs-0f4cee585abe6290aae9fc744108e39814a1eb75.tar.xz
nixpkgs-0f4cee585abe6290aae9fc744108e39814a1eb75.tar.zst
nixpkgs-0f4cee585abe6290aae9fc744108e39814a1eb75.zip
ocamlPackages.resto: init at 0.6.1 (#129522)
ocamlPackages.resto:  init at 0.6.1
ocamlPackages.resto-acl:  init at 0.6.1
ocamlPackages.resto-json:  init at 0.6.1
ocamlPackages.resto-directory:  init at 0.6.1
ocamlPackages.resto-cohttp:  init at 0.6.1
ocamlPackages.ezresto:  init at 0.6.1
ocamlPackages.ezresto-directory:  init at 0.6.1
ocamlPackages.resto-cohttp-server:  init at 0.6.1
ocamlPackages.resto-cohttp-client:  init at 0.6.1
ocamlPackages.resto-cohttp-self-serving-client:  init at 0.6.1
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
+  ];
+}