nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildDunePackage, alcotest, graphql_parser, rresult, yojson }:
2
3buildDunePackage rec {
4 pname = "graphql";
5
6 inherit (graphql_parser) version src;
7
8 propagatedBuildInputs = [ graphql_parser rresult yojson ];
9
10 checkInputs = lib.optional doCheck alcotest;
11
12 doCheck = true;
13
14 meta = graphql_parser.meta // {
15 description = "Build GraphQL schemas and execute queries against them";
16 };
17
18}