summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/graphql/default.nix
blob: 22b7bf35f8e177da743d60e8760a536b0e55dc7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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";
  };

}