ocamlPackages.graphql: use dune 3

This commit is contained in:
Vincent Laporte 2023-01-09 10:34:06 +01:00 committed by Vincent Laporte
parent aa339b2365
commit 589e4a2bb2
4 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,7 @@ buildDunePackage rec {
inherit (graphql) version src;
useDune2 = true;
duneVersion = "3";
nativeBuildInputs = [ ocaml-crunch ];
propagatedBuildInputs = [ astring cohttp digestif graphql ocplib-endian ];

View File

@ -5,6 +5,8 @@ buildDunePackage rec {
inherit (graphql_parser) version src;
duneVersion = "3";
propagatedBuildInputs = [ graphql_parser rresult yojson ];
checkInputs = [ alcotest ];

View File

@ -5,6 +5,8 @@ buildDunePackage rec {
inherit (graphql) version src;
duneVersion = "3";
propagatedBuildInputs = [ graphql ocaml_lwt ];
checkInputs = [ alcotest ];

View File

@ -5,6 +5,7 @@ buildDunePackage rec {
version = "0.14.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${version}/graphql-${version}.tbz";