ocamlPackages.yaml: use Dune 3

This commit is contained in:
Vincent Laporte 2023-03-17 06:19:13 +01:00 committed by Vincent Laporte
parent fd2191f857
commit d9d7c358c4
2 changed files with 4 additions and 1 deletions

View file

@ -10,10 +10,11 @@ buildDunePackage rec {
src = fetchurl {
url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-${version}.tbz";
sha256 = "sha256-0KngriGEpp5tcgK/43B9EEOdMacSQYYCNLGfAgRS7Mc=";
hash = "sha256-0KngriGEpp5tcgK/43B9EEOdMacSQYYCNLGfAgRS7Mc=";
};
minimalOCamlVersion = "4.13";
duneVersion = "3";
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ bos ctypes ];

View file

@ -5,6 +5,8 @@ buildDunePackage rec {
inherit (yaml) version src;
duneVersion = "3";
propagatedBuildInputs = [ yaml ppx_sexp_conv sexplib ];
meta = yaml.meta // {