ocamlPackages.uutf: disable with OCaml ≤ 4.02
This commit is contained in:
parent
700c4a7055
commit
3d7f865ddb
|
@ -3,6 +3,9 @@ let
|
||||||
pname = "uutf";
|
pname = "uutf";
|
||||||
in
|
in
|
||||||
|
|
||||||
|
lib.throwIfNot (lib.versionAtLeast ocaml.version "4.03")
|
||||||
|
"${pname} is not available with OCaml ${ocaml.version}"
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||||
version = "1.0.3";
|
version = "1.0.3";
|
||||||
|
@ -23,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Non-blocking streaming Unicode codec for OCaml";
|
description = "Non-blocking streaming Unicode codec for OCaml";
|
||||||
homepage = "https://erratique.ch/software/uutf";
|
homepage = "https://erratique.ch/software/uutf";
|
||||||
platforms = ocaml.meta.platforms or [];
|
inherit (ocaml.meta) platforms;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.vbgl ];
|
maintainers = [ maintainers.vbgl ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue