ocamlPackages.graphql: init at 0.13.0

This commit is contained in:
Vincent Laporte 2019-12-06 06:18:55 +00:00 committed by Vincent Laporte
parent 40a023a853
commit 187c657eab
2 changed files with 20 additions and 0 deletions

View file

@ -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";
};
}

View file

@ -348,6 +348,8 @@ let
gmetadom = callPackage ../development/ocaml-modules/gmetadom { };
graphql = callPackage ../development/ocaml-modules/graphql { };
graphql_parser = callPackage ../development/ocaml-modules/graphql/parser.nix { };
gtktop = callPackage ../development/ocaml-modules/gtktop { };