ocamlPackages.sodium: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-10-30 06:46:56 +01:00 committed by Vincent Laporte
parent 825e89dc57
commit af801efe5d

View File

@ -1,5 +1,8 @@
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ctypes, libsodium }:
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
"sodium is not available for OCaml ${ocaml.version}"
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-sodium";
version = "0.6.0";