ocamlPackages.yaml: 3.0.0 -> 3.1.0 (#180139)

ocamlPackages.ppx_deriving_yaml: 0.1.0 -> 0.1.1
This commit is contained in:
superherointj 2022-07-06 02:21:03 -03:00 committed by GitHub
parent 6e6cabc4b8
commit 3b1cbcc92b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 16 deletions

View file

@ -4,15 +4,13 @@
buildDunePackage rec {
pname = "ppx_deriving_yaml";
version = "0.1.0";
useDune2 = true;
version = "0.1.1";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-v${version}.tbz";
sha256 = "kdonUD4Y8QhVSAFAafIpXBFPkS4pSScYwJbaWMn/6pA=";
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-${version}.tbz";
sha256 = "sha256-nR3568ULM6jaGG4H4+lLBTEJqh/ALHPiJxve40jPUxw=";
};
propagatedBuildInputs = [ ppxlib ppx_deriving yaml ];

View file

@ -1,24 +1,24 @@
{ lib, fetchurl, buildDunePackage, ocaml
{ lib, fetchurl, buildDunePackage
, dune-configurator
, bos, ctypes, fmt, logs, rresult
, bos, ctypes, fmt, logs
, mdx, alcotest, crowbar, junit_alcotest, ezjsonm
}:
buildDunePackage rec {
pname = "yaml";
version = "3.0.0";
useDune2 = true;
version = "3.1.0";
src = fetchurl {
url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-v${version}.tbz";
sha256 = "1iws6lbnrrd5hhmm7lczfvqp0aidx5xn7jlqk2s5rjfmj9qf4j2c";
url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-${version}.tbz";
sha256 = "sha256-0KngriGEpp5tcgK/43B9EEOdMacSQYYCNLGfAgRS7Mc=";
};
minimalOCamlVersion = "4.13";
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ bos ctypes rresult ];
# crowbar is not available for OCaml < 4.08
doCheck = lib.versionAtLeast ocaml.version "4.08";
propagatedBuildInputs = [ bos ctypes ];
doCheck = true;
checkInputs = [ fmt logs mdx.bin alcotest crowbar junit_alcotest ezjsonm ];
meta = {

View file

@ -3,7 +3,7 @@
buildDunePackage rec {
pname = "yaml-sexp";
inherit (yaml) version src useDune2;
inherit (yaml) version src;
propagatedBuildInputs = [ yaml ppx_sexp_conv sexplib ];