ocamlPackages.graphql: init at 0.13.0
This commit is contained in:
parent
40a023a853
commit
187c657eab
2 changed files with 20 additions and 0 deletions
18
pkgs/development/ocaml-modules/graphql/default.nix
Normal file
18
pkgs/development/ocaml-modules/graphql/default.nix
Normal 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";
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue