nixpkgs/pkgs/development/ocaml-modules/graphql/default.nix

19 lines
391 B
Nix
Raw Normal View History

2020-12-05 19:27:35 +03:00
{ buildDunePackage, alcotest, graphql_parser, rresult, yojson }:
2019-12-06 09:18:55 +03:00
buildDunePackage rec {
pname = "graphql";
2020-12-05 19:27:35 +03:00
inherit (graphql_parser) version useDune2 src;
2019-12-06 09:18:55 +03:00
propagatedBuildInputs = [ graphql_parser rresult yojson ];
2020-12-05 19:27:35 +03:00
checkInputs = [ alcotest ];
2019-12-06 09:18:55 +03:00
doCheck = true;
meta = graphql_parser.meta // {
description = "Build GraphQL schemas and execute queries against them";
};
}