Files

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

44 lines
612 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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;
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";
};
}