ocamlPackages.yaml: 3.1.0 → 3.2.0

This commit is contained in:
Vincent Laporte 2023-11-10 05:44:41 +01:00 committed by Vincent Laporte
parent 3b7c461dd5
commit e3de846947
2 changed files with 8 additions and 6 deletions

View File

@ -6,15 +6,14 @@
buildDunePackage rec {
pname = "yaml";
version = "3.1.0";
version = "3.2.0";
src = fetchurl {
url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-${version}.tbz";
hash = "sha256-0KngriGEpp5tcgK/43B9EEOdMacSQYYCNLGfAgRS7Mc=";
hash = "sha256-xQ0qyii5+WZ5K3HhYDNR5dJO2k39PkRT+9UDZqOggic=";
};
minimalOCamlVersion = "4.13";
duneVersion = "3";
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ bos ctypes ];

View File

@ -1,14 +1,17 @@
{ lib, fetchurl, buildDunePackage, yaml, dune-configurator, ppx_sexp_conv, sexplib }:
{ lib, fetchurl, buildDunePackage, yaml, dune-configurator, ppx_sexp_conv, sexplib
, junit_alcotest
}:
buildDunePackage rec {
pname = "yaml-sexp";
inherit (yaml) version src;
duneVersion = "3";
propagatedBuildInputs = [ yaml ppx_sexp_conv sexplib ];
doCheck = true;
checkInputs = [ junit_alcotest ];
meta = yaml.meta // {
description = "ocaml-yaml with sexp support";
};