ocamlPackages.faraday: disable tests with OCaml 4.07

This commit is contained in:
Vincent Laporte 2019-10-11 06:02:16 +00:00 committed by Vincent Laporte
parent 5617886b16
commit 33f003e930

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, alcotest, bigstringaf }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
buildDunePackage rec {
pname = "faraday";
@ -13,9 +13,9 @@ buildDunePackage rec {
sha256 = "0z6ikwlqad91iac0q5z88p3wzq5k15y86ckzmhdq1aqwrcm14bq2";
};
buildInputs = [ alcotest ];
checkInputs = lib.optional doCheck alcotest;
propagatedBuildInputs = [ bigstringaf ];
doCheck = true;
doCheck = lib.versions.majorMinor ocaml.version != "4.07";
meta = {
description = "Serialization library built for speed and memory efficiency";