ocamlPackages.graphql: use Dune 2

This commit is contained in:
Vincent Laporte
2020-12-08 17:19:48 +01:00
committed by Vincent Laporte
parent e56e8d4f74
commit 46281741b2
3 changed files with 9 additions and 7 deletions
@@ -4,6 +4,8 @@ buildDunePackage rec {
pname = "graphql_parser";
version = "0.13.0";
useDune2 = true;
minimumOCamlVersion = "4.03";
src = fetchurl {
@@ -14,7 +16,7 @@ buildDunePackage rec {
nativeBuildInputs = [ menhir ];
propagatedBuildInputs = [ fmt re ];
checkInputs = lib.optional doCheck alcotest;
checkInputs = [ alcotest ];
doCheck = true;