mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
21 lines
410 B
Nix
21 lines
410 B
Nix
{ buildDunePackage, alcotest, graphql_parser, rresult, yojson }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "graphql";
|
|
|
|
inherit (graphql_parser) version src;
|
|
|
|
duneVersion = "3";
|
|
|
|
propagatedBuildInputs = [ graphql_parser rresult yojson ];
|
|
|
|
nativeCheckInputs = [ alcotest ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = graphql_parser.meta // {
|
|
description = "Build GraphQL schemas and execute queries against them";
|
|
};
|
|
|
|
}
|