diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-10-11 06:02:21 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-10-18 05:59:29 +0000 |
commit | 734119c74d2cdb75c84a16d03129c1c82b28d9f6 (patch) | |
tree | 61ea157dd4ea6e9501253c0b2b314dcb034972f1 /pkgs/development/ocaml-modules | |
parent | 33f003e93008a4e44712aa099acc52f005bbcc0a (diff) | |
download | nixlib-734119c74d2cdb75c84a16d03129c1c82b28d9f6.tar nixlib-734119c74d2cdb75c84a16d03129c1c82b28d9f6.tar.gz nixlib-734119c74d2cdb75c84a16d03129c1c82b28d9f6.tar.bz2 nixlib-734119c74d2cdb75c84a16d03129c1c82b28d9f6.tar.lz nixlib-734119c74d2cdb75c84a16d03129c1c82b28d9f6.tar.xz nixlib-734119c74d2cdb75c84a16d03129c1c82b28d9f6.tar.zst nixlib-734119c74d2cdb75c84a16d03129c1c82b28d9f6.zip |
ocamlPackages.httpaf: disable tests with OCaml 4.07
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/httpaf/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/httpaf/default.nix b/pkgs/development/ocaml-modules/httpaf/default.nix index bec4f947ce30..42e7c1eac1b6 100644 --- a/pkgs/development/ocaml-modules/httpaf/default.nix +++ b/pkgs/development/ocaml-modules/httpaf/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, buildDunePackage, angstrom, faraday, alcotest }: +{ lib, fetchFromGitHub, buildDunePackage, ocaml, angstrom, faraday, alcotest }: buildDunePackage rec { pname = "httpaf"; @@ -11,14 +11,14 @@ buildDunePackage rec { sha256 = "0i2r004ihj00hd97475y8nhjqjln58xx087zcjl0dfp0n7q80517"; }; - buildInputs = [ alcotest ]; + checkInputs = lib.optional doCheck alcotest; propagatedBuildInputs = [ angstrom faraday ]; - doCheck = true; + doCheck = lib.versions.majorMinor ocaml.version != "4.07"; meta = { description = "A high-performance, memory-efficient, and scalable web server for OCaml"; - license = stdenv.lib.licenses.bsd3; - maintainers = [ stdenv.lib.maintainers.vbgl ]; + license = lib.licenses.bsd3; + maintainers = [ lib.maintainers.vbgl ]; inherit (src.meta) homepage; }; } |