ocamlPackages.graphql_ppx: use dune 3

This commit is contained in:
Vincent Laporte 2022-10-19 17:15:46 +02:00 committed by Vincent Laporte
parent c8f907045f
commit dce82561f7

View File

@ -1,4 +1,5 @@
{ lib, buildDunePackage, fetchFromGitHub, alcotest, reason { lib, buildDunePackage, fetchFromGitHub, alcotest, reason
, result
, ppxlib , ppxlib
, yojson }: , yojson }:
@ -6,6 +7,8 @@ buildDunePackage rec {
pname = "graphql_ppx"; pname = "graphql_ppx";
version = "1.2.2"; version = "1.2.2";
duneVersion = "3";
minimalOCamlVersion = "4.08"; minimalOCamlVersion = "4.08";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -19,6 +22,7 @@ buildDunePackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
reason reason
result
yojson yojson
]; ];
@ -26,8 +30,6 @@ buildDunePackage rec {
doCheck = true; doCheck = true;
useDune2 = true;
meta = { meta = {
homepage = "https://github.com/reasonml-community/graphql_ppx"; homepage = "https://github.com/reasonml-community/graphql_ppx";
description = "GraphQL PPX rewriter for Bucklescript/ReasonML"; description = "GraphQL PPX rewriter for Bucklescript/ReasonML";