ocamlPackages.graphql: use dune 3
This commit is contained in:
parent
aa339b2365
commit
589e4a2bb2
4 changed files with 6 additions and 1 deletions
|
@ -8,7 +8,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
inherit (graphql) version src;
|
inherit (graphql) version src;
|
||||||
|
|
||||||
useDune2 = true;
|
duneVersion = "3";
|
||||||
|
|
||||||
nativeBuildInputs = [ ocaml-crunch ];
|
nativeBuildInputs = [ ocaml-crunch ];
|
||||||
propagatedBuildInputs = [ astring cohttp digestif graphql ocplib-endian ];
|
propagatedBuildInputs = [ astring cohttp digestif graphql ocplib-endian ];
|
||||||
|
|
|
@ -5,6 +5,8 @@ buildDunePackage rec {
|
||||||
|
|
||||||
inherit (graphql_parser) version src;
|
inherit (graphql_parser) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
propagatedBuildInputs = [ graphql_parser rresult yojson ];
|
propagatedBuildInputs = [ graphql_parser rresult yojson ];
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
|
@ -5,6 +5,8 @@ buildDunePackage rec {
|
||||||
|
|
||||||
inherit (graphql) version src;
|
inherit (graphql) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
propagatedBuildInputs = [ graphql ocaml_lwt ];
|
propagatedBuildInputs = [ graphql ocaml_lwt ];
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
|
@ -5,6 +5,7 @@ buildDunePackage rec {
|
||||||
version = "0.14.0";
|
version = "0.14.0";
|
||||||
|
|
||||||
minimalOCamlVersion = "4.08";
|
minimalOCamlVersion = "4.08";
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${version}/graphql-${version}.tbz";
|
url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${version}/graphql-${version}.tbz";
|
||||||
|
|
Loading…
Reference in a new issue