3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.httpaf: disable tests with OCaml 4.07

This commit is contained in:
Vincent Laporte 2019-10-11 06:02:21 +00:00 committed by Vincent Laporte
parent 33f003e930
commit 734119c74d

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildDunePackage, angstrom, faraday, alcotest }: { lib, fetchFromGitHub, buildDunePackage, ocaml, angstrom, faraday, alcotest }:
buildDunePackage rec { buildDunePackage rec {
pname = "httpaf"; pname = "httpaf";
@ -11,14 +11,14 @@ buildDunePackage rec {
sha256 = "0i2r004ihj00hd97475y8nhjqjln58xx087zcjl0dfp0n7q80517"; sha256 = "0i2r004ihj00hd97475y8nhjqjln58xx087zcjl0dfp0n7q80517";
}; };
buildInputs = [ alcotest ]; checkInputs = lib.optional doCheck alcotest;
propagatedBuildInputs = [ angstrom faraday ]; propagatedBuildInputs = [ angstrom faraday ];
doCheck = true; doCheck = lib.versions.majorMinor ocaml.version != "4.07";
meta = { meta = {
description = "A high-performance, memory-efficient, and scalable web server for OCaml"; description = "A high-performance, memory-efficient, and scalable web server for OCaml";
license = stdenv.lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.vbgl ]; maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage; inherit (src.meta) homepage;
}; };
} }