nixpkgs/pkgs/development/ocaml-modules/graphql/cohttp.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
565 B
Nix
Raw Normal View History

{ 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;
2023-01-09 10:34:06 +01:00
duneVersion = "3";
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";
};
}