forked from mirrors/nixpkgs
ocamlPackages.yaml: enable tests with OCaml ≥ 4.08
This commit is contained in:
parent
bce6cb1dd5
commit
0d0a74f2e5
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, buildDunePackage
|
{ lib, fetchurl, buildDunePackage, ocaml
|
||||||
, dune-configurator
|
, dune-configurator
|
||||||
, bos, ctypes, fmt, logs, rresult
|
, bos, ctypes, fmt, logs, rresult
|
||||||
, mdx, alcotest, crowbar, junit_alcotest, ezjsonm
|
, mdx, alcotest, crowbar, junit_alcotest, ezjsonm
|
||||||
|
@ -17,7 +17,9 @@ buildDunePackage rec {
|
||||||
|
|
||||||
buildInputs = [ dune-configurator ];
|
buildInputs = [ dune-configurator ];
|
||||||
propagatedBuildInputs = [ bos ctypes rresult ];
|
propagatedBuildInputs = [ bos ctypes rresult ];
|
||||||
checkInputs = [ fmt logs mdx alcotest crowbar junit_alcotest ezjsonm ];
|
# crowbar is not available for OCaml < 4.08
|
||||||
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
checkInputs = [ fmt logs mdx.bin alcotest crowbar junit_alcotest ezjsonm ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Parse and generate YAML 1.1 files";
|
description = "Parse and generate YAML 1.1 files";
|
||||||
|
|
Loading…
Reference in a new issue