about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/graphql
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-12-06 06:18:55 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-12-09 09:53:40 +0100
commit187c657eabc415e84b97a5c536d6eb3e3290fc94 (patch)
tree5c38d92a890268a88c400075e8e0b3dac01a3c1e /pkgs/development/ocaml-modules/graphql
parent40a023a85336569b61289f276e395883fec24ed9 (diff)
downloadnixlib-187c657eabc415e84b97a5c536d6eb3e3290fc94.tar
nixlib-187c657eabc415e84b97a5c536d6eb3e3290fc94.tar.gz
nixlib-187c657eabc415e84b97a5c536d6eb3e3290fc94.tar.bz2
nixlib-187c657eabc415e84b97a5c536d6eb3e3290fc94.tar.lz
nixlib-187c657eabc415e84b97a5c536d6eb3e3290fc94.tar.xz
nixlib-187c657eabc415e84b97a5c536d6eb3e3290fc94.tar.zst
nixlib-187c657eabc415e84b97a5c536d6eb3e3290fc94.zip
ocamlPackages.graphql: init at 0.13.0
Diffstat (limited to 'pkgs/development/ocaml-modules/graphql')
-rw-r--r--pkgs/development/ocaml-modules/graphql/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/graphql/default.nix b/pkgs/development/ocaml-modules/graphql/default.nix
new file mode 100644
index 000000000000..22b7bf35f8e1
--- /dev/null
+++ b/pkgs/development/ocaml-modules/graphql/default.nix
@@ -0,0 +1,18 @@
+{ lib, buildDunePackage, alcotest, graphql_parser, rresult, yojson }:
+
+buildDunePackage rec {
+  pname = "graphql";
+
+  inherit (graphql_parser) version src;
+
+  propagatedBuildInputs = [ graphql_parser rresult yojson ];
+
+  checkInputs = lib.optional doCheck alcotest;
+
+  doCheck = true;
+
+  meta = graphql_parser.meta // {
+    description = "Build GraphQL schemas and execute queries against them";
+  };
+
+}