ocamlPackages.faraday: disable tests with OCaml 4.07

wip/yesman
Vincent Laporte 5 years ago committed by Vincent Laporte
parent 5617886b16
commit 33f003e930
  1. 6
      pkgs/development/ocaml-modules/faraday/default.nix

@ -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";

Loading…
Cancel
Save