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