ocamlPackages.ocp-indent: use Dune 3

This commit is contained in:
Vincent Laporte 2023-05-09 06:23:34 +02:00
parent ac28a8110c
commit 757ec67f02
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,10 +1,10 @@
{ lib, fetchFromGitHub, buildDunePackage, cmdliner }:
{ lib, fetchFromGitHub, buildDunePackage, cmdliner, findlib }:
buildDunePackage rec {
version = "1.8.2";
pname = "ocp-indent";
useDune2 = true;
duneVersion = "3";
src = fetchFromGitHub {
owner = "OCamlPro";
@ -13,9 +13,10 @@ buildDunePackage rec {
sha256 = "sha256-IyvURw/6R0eKrnahV1fqLV0iIeypykrmxDbliECgbLc=";
};
minimumOCamlVersion = "4.02";
minimalOCamlVersion = "4.03";
buildInputs = [ cmdliner ];
propagatedBuildInputs = [ findlib ];
meta = with lib; {
homepage = "https://www.typerex.org/ocp-indent.html";