mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
19 lines
404 B
Nix
19 lines
404 B
Nix
{ 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";
|
|
};
|
|
|
|
}
|