mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
20 lines
354 B
Nix
20 lines
354 B
Nix
{ lib, buildDunePackage, alcotest, graphql, ocaml_lwt }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "graphql-lwt";
|
|
|
|
inherit (graphql) version src;
|
|
|
|
propagatedBuildInputs = [ graphql ocaml_lwt ];
|
|
|
|
checkInputs = lib.optional doCheck alcotest;
|
|
|
|
doCheck = true;
|
|
|
|
meta = graphql.meta // {
|
|
description = "Build GraphQL schemas with Lwt support";
|
|
};
|
|
|
|
}
|
|
|