ocamlPackages.ppx_deriving: use Dune 3

This commit is contained in:
Vincent Laporte 2023-05-02 06:08:08 +02:00
parent 1cc79faa2e
commit cdfa6c7e80
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -2,6 +2,7 @@
, fetchurl
, buildDunePackage
, ocaml
, findlib
, cppo
, ppxlib
, ppx_derivers
@ -32,7 +33,7 @@ buildDunePackage rec {
pname = "ppx_deriving";
inherit (params) version;
useDune2 = true;
duneVersion = "3";
src = fetchurl {
url = "https://github.com/ocaml-ppx/ppx_deriving/releases/download/v${version}/ppx_deriving-v${version}.tbz";
@ -42,7 +43,7 @@ buildDunePackage rec {
strictDeps = true;
nativeBuildInputs = [ cppo ];
buildInputs = [ ppxlib ];
buildInputs = [ findlib ppxlib ];
propagatedBuildInputs = [
(if params.useOMP2
then ocaml-migrate-parsetree-2