nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 24 lines 535 B view raw
1{ lib, buildDunePackage, ocaml-crunch 2, astring, cohttp, digestif, graphql, ocplib-endian 3, alcotest, cohttp-lwt-unix, graphql-lwt 4}: 5 6buildDunePackage rec { 7 pname = "graphql-cohttp"; 8 9 inherit (graphql) version src; 10 11 nativeBuildInputs = [ ocaml-crunch ]; 12 propagatedBuildInputs = [ astring cohttp digestif graphql ocplib-endian ]; 13 14 checkInputs = lib.optionals doCheck [ alcotest cohttp-lwt-unix graphql-lwt ]; 15 16 doCheck = true; 17 18 meta = graphql.meta // { 19 description = "Run GraphQL servers with cohttp"; 20 }; 21 22} 23 24