ocamlPackages.ppx_derivers: use Dune 2

This commit is contained in:
Vincent Laporte 2021-02-28 21:57:17 +01:00
parent dce7435c9e
commit 25947abcf1
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,9 +1,11 @@
{ lib, fetchFromGitHub, buildDunePackage }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
buildDunePackage rec {
pname = "ppx_derivers";
version = "1.2.1";
useDune2 = lib.versionAtLeast ocaml.version "4.08";
minimumOCamlVersion = "4.02";
src = fetchFromGitHub {