Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 34 lines 565 B view raw
1{ lib 2, buildDunePackage 3, ocaml-crunch 4, astring 5, cohttp 6, digestif 7, graphql 8, ocplib-endian 9, alcotest 10, cohttp-lwt-unix 11, graphql-lwt 12}: 13 14buildDunePackage rec { 15 pname = "graphql-cohttp"; 16 17 inherit (graphql) version src; 18 19 duneVersion = "3"; 20 21 nativeBuildInputs = [ ocaml-crunch ]; 22 propagatedBuildInputs = [ astring cohttp digestif graphql ocplib-endian ]; 23 24 checkInputs = lib.optionals doCheck [ alcotest cohttp-lwt-unix graphql-lwt ]; 25 26 doCheck = true; 27 28 meta = graphql.meta // { 29 description = "Run GraphQL servers with cohttp"; 30 }; 31 32} 33 34