ocamlPackages.re: disable tests with OCaml < 4.04
This commit is contained in:
parent
df8eed0ccf
commit
745a86726a
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchzip, buildDunePackage, ounit, seq }:
|
{ lib, fetchzip, buildDunePackage, ocaml, ounit, seq }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "re";
|
pname = "re";
|
||||||
@ -11,14 +11,14 @@ buildDunePackage rec {
|
|||||||
sha256 = "07ycb103mr4mrkxfd63cwlsn023xvcjp0ra0k7n2gwrg0mwxmfss";
|
sha256 = "07ycb103mr4mrkxfd63cwlsn023xvcjp0ra0k7n2gwrg0mwxmfss";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ounit ];
|
buildInputs = lib.optional doCheck ounit;
|
||||||
propagatedBuildInputs = [ seq ];
|
propagatedBuildInputs = [ seq ];
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.04";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/ocaml/ocaml-re";
|
homepage = "https://github.com/ocaml/ocaml-re";
|
||||||
description = "Pure OCaml regular expressions, with support for Perl and POSIX-style strings";
|
description = "Pure OCaml regular expressions, with support for Perl and POSIX-style strings";
|
||||||
license = stdenv.lib.licenses.lgpl2;
|
license = lib.licenses.lgpl2;
|
||||||
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
maintainers = with lib.maintainers; [ vbgl ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user