diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-12-06 06:19:00 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-12-09 09:53:40 +0100 |
commit | 9b834a210e0a4735b6b4bc45672806f249e588d4 (patch) | |
tree | 79e132b13a860b99926eb121178d9738e818cefb /pkgs/development/ocaml-modules/graphql | |
parent | 187c657eabc415e84b97a5c536d6eb3e3290fc94 (diff) | |
download | nixlib-9b834a210e0a4735b6b4bc45672806f249e588d4.tar nixlib-9b834a210e0a4735b6b4bc45672806f249e588d4.tar.gz nixlib-9b834a210e0a4735b6b4bc45672806f249e588d4.tar.bz2 nixlib-9b834a210e0a4735b6b4bc45672806f249e588d4.tar.lz nixlib-9b834a210e0a4735b6b4bc45672806f249e588d4.tar.xz nixlib-9b834a210e0a4735b6b4bc45672806f249e588d4.tar.zst nixlib-9b834a210e0a4735b6b4bc45672806f249e588d4.zip |
ocamlPackages.graphql-lwt: init at 0.13.0
Diffstat (limited to 'pkgs/development/ocaml-modules/graphql')
-rw-r--r-- | pkgs/development/ocaml-modules/graphql/lwt.nix | 19 |
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 000000000000..37d75f9e22ea --- /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"; + }; + +} + |