ocamlPackages.callipyge: use Dune 3

This commit is contained in:
Vincent Laporte 2023-03-28 08:57:29 +02:00
parent 5accdae43a
commit ad6bb1a816
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,8 +1,6 @@
{ lib { lib
, buildDunePackage , buildDunePackage
, fetchurl , fetchurl
, ocaml
, alcotest , alcotest
, eqaf , eqaf
, fmt , fmt
@ -14,17 +12,16 @@ buildDunePackage rec {
src = fetchurl { src = fetchurl {
url = "https://github.com/oklm-wsh/Callipyge/releases/download/v${version}/${pname}-${version}.tbz"; url = "https://github.com/oklm-wsh/Callipyge/releases/download/v${version}/${pname}-${version}.tbz";
sha256 = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0="; hash = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0=";
}; };
useDune2 = true; duneVersion = "3";
minimumOCamlVersion = "4.03"; minimalOCamlVersion = "4.08";
propagatedBuildInputs = [ fmt eqaf ]; propagatedBuildInputs = [ fmt eqaf ];
# alcotest isn't available for OCaml < 4.08 due to fmt doCheck = true;
doCheck = lib.versionAtLeast ocaml.version "4.08";
checkInputs = [ alcotest ]; checkInputs = [ alcotest ];
meta = { meta = {