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