ocamlPackages.graphql-cohttp: init at 0.13.0
This commit is contained in:
parent
9b834a210e
commit
c09e680e77
24
pkgs/development/ocaml-modules/graphql/cohttp.nix
Normal file
24
pkgs/development/ocaml-modules/graphql/cohttp.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ lib, buildDunePackage, ocaml-crunch
|
||||||
|
, astring, cohttp, digestif, graphql, ocplib-endian
|
||||||
|
, alcotest, cohttp-lwt-unix, graphql-lwt
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "graphql-cohttp";
|
||||||
|
|
||||||
|
inherit (graphql) version src;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ ocaml-crunch ];
|
||||||
|
propagatedBuildInputs = [ astring cohttp digestif graphql ocplib-endian ];
|
||||||
|
|
||||||
|
checkInputs = lib.optionals doCheck [ alcotest cohttp-lwt-unix graphql-lwt ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = graphql.meta // {
|
||||||
|
description = "Run GraphQL servers with “cohttp”";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -350,6 +350,8 @@ let
|
|||||||
|
|
||||||
graphql = callPackage ../development/ocaml-modules/graphql { };
|
graphql = callPackage ../development/ocaml-modules/graphql { };
|
||||||
|
|
||||||
|
graphql-cohttp = callPackage ../development/ocaml-modules/graphql/cohttp.nix { };
|
||||||
|
|
||||||
graphql-lwt = callPackage ../development/ocaml-modules/graphql/lwt.nix { };
|
graphql-lwt = callPackage ../development/ocaml-modules/graphql/lwt.nix { };
|
||||||
|
|
||||||
graphql_parser = callPackage ../development/ocaml-modules/graphql/parser.nix { };
|
graphql_parser = callPackage ../development/ocaml-modules/graphql/parser.nix { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user