Package ocaml-variants

Failed to find a solution:

no platform:
2024-09-12 08:22.25 [INFO] Solving for ocaml-base-compiler, ocaml,
                           ocaml-variants using opam_repository_commit 0329818dcfd3de1a722ea09eeeed94cd24caa375

2024-09-12 08:22.31 [INFO] base: eliminated all possibilities in 2.79 s

2024-09-12 08:22.31 [INFO] = base =

2024-09-12 08:22.31 [INFO] Can't find all required versions.
Selected: base-bigarray.base base-threads.base base-unix.base ocaml-config.3
          ocaml-variants&ocaml&ocaml-base-compiler ocaml-base-compiler
          ocaml-base-compiler
- ocaml -> ocaml.4.06.1
    User requested <= 5.1.1
    ocaml-variants 4.06.1+fp requires = 4.06.1
- ocaml-base-compiler -> (problem)
    User requested >= 4.04.1
    Rejected candidates:
      ocaml-base-compiler.5.2.0: In same conflict class (ocaml-core-compiler) as ocaml-variants
      ocaml-base-compiler.5.2.0~rc1: In same conflict class (ocaml-core-compiler) as ocaml-variants
      ocaml-base-compiler.5.2.0~beta2: In same conflict class (ocaml-core-compiler) as ocaml-variants
      ocaml-base-compiler.5.2.0~beta1: In same conflict class (ocaml-core-compiler) as ocaml-variants
      ocaml-base-compiler.5.2.0~alpha1: In same conflict class (ocaml-core-compiler) as ocaml-variants
      ...
- ocaml-variants -> ocaml-variants.4.06.1+fp
    User requested = 4.06.1+fp