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

19 lines
404 B
Nix
Raw Normal View History

2019-12-06 06:18:55 +00:00
{ 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";
};
}