nixpkgs/pkgs/development/ocaml-modules/graphql/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
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.
2023-01-21 12:00:00 +00:00

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";
};
}