summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-12-06 06:19:00 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-12-09 09:53:40 +0100
commit9b834a210e0a4735b6b4bc45672806f249e588d4 (patch)
tree79e132b13a860b99926eb121178d9738e818cefb /pkgs/development
parent187c657eabc415e84b97a5c536d6eb3e3290fc94 (diff)
downloadnixpkgs-9b834a210e0a4735b6b4bc45672806f249e588d4.tar
nixpkgs-9b834a210e0a4735b6b4bc45672806f249e588d4.tar.gz
nixpkgs-9b834a210e0a4735b6b4bc45672806f249e588d4.tar.bz2
nixpkgs-9b834a210e0a4735b6b4bc45672806f249e588d4.tar.lz
nixpkgs-9b834a210e0a4735b6b4bc45672806f249e588d4.tar.xz
nixpkgs-9b834a210e0a4735b6b4bc45672806f249e588d4.tar.zst
nixpkgs-9b834a210e0a4735b6b4bc45672806f249e588d4.zip
ocamlPackages.graphql-lwt: init at 0.13.0
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/ocaml-modules/graphql/lwt.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/graphql/lwt.nix b/pkgs/development/ocaml-modules/graphql/lwt.nix
new file mode 100644
index 00000000000..37d75f9e22e
--- /dev/null
+++ b/pkgs/development/ocaml-modules/graphql/lwt.nix
@@ -0,0 +1,19 @@
+{ lib, buildDunePackage, alcotest, graphql, ocaml_lwt }:
+
+buildDunePackage rec {
+  pname = "graphql-lwt";
+
+  inherit (graphql) version src;
+
+  propagatedBuildInputs = [ graphql ocaml_lwt ];
+
+  checkInputs = lib.optional doCheck alcotest;
+
+  doCheck = true;
+
+  meta = graphql.meta // {
+    description = "Build GraphQL schemas with Lwt support";
+  };
+
+}
+