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