ocamlPackages.ocaml-migrate-parsetree: use Dune 2

master
Vincent Laporte 2021-01-31 14:29:46 +01:00 committed by Vincent Laporte
parent 1e1d6f4648
commit f12fb9fbe6
1 changed files with 3 additions and 1 deletions

View File

@ -1,9 +1,11 @@
{ lib, fetchFromGitHub, buildDunePackage, result, ppx_derivers }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, result, ppx_derivers }:
buildDunePackage rec {
pname = "ocaml-migrate-parsetree";
version = "1.8.0";
useDune2 = lib.versionAtLeast ocaml.version "4.08";
src = fetchFromGitHub {
owner = "ocaml-ppx";
repo = pname;