Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocamlPackages.graphql-cohttp: init at 0.13.0

authored by Vincent Laporte and committed by Vincent Laporte c09e680e 9b834a21

+26
+24
pkgs/development/ocaml-modules/graphql/cohttp.nix
···
··· 1 + { lib, buildDunePackage, ocaml-crunch 2 + , astring, cohttp, digestif, graphql, ocplib-endian 3 + , alcotest, cohttp-lwt-unix, graphql-lwt 4 + }: 5 + 6 + buildDunePackage 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 +
+2
pkgs/top-level/ocaml-packages.nix
··· 350 351 graphql = callPackage ../development/ocaml-modules/graphql { }; 352 353 graphql-lwt = callPackage ../development/ocaml-modules/graphql/lwt.nix { }; 354 355 graphql_parser = callPackage ../development/ocaml-modules/graphql/parser.nix { };
··· 350 351 graphql = callPackage ../development/ocaml-modules/graphql { }; 352 353 + graphql-cohttp = callPackage ../development/ocaml-modules/graphql/cohttp.nix { }; 354 + 355 graphql-lwt = callPackage ../development/ocaml-modules/graphql/lwt.nix { }; 356 357 graphql_parser = callPackage ../development/ocaml-modules/graphql/parser.nix { };