ocamlPackages.sodium: build on later OCaml versions

authored by Antonio Nuno Monteiro and committed by Vincent Laporte b464f057 f8f45750

Changed files
-4
pkgs
development
ocaml-modules
sodium
-4
pkgs/development/ocaml-modules/sodium/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ctypes, libsodium }: 2 3 - if lib.versionAtLeast ocaml.version "4.10" 4 - then throw "sodium is not available for OCaml ${ocaml.version}" 5 - else 6 - 7 stdenv.mkDerivation rec { 8 pname = "ocaml${ocaml.version}-sodium"; 9 version = "0.6.0";
··· 1 { lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ctypes, libsodium }: 2 3 stdenv.mkDerivation rec { 4 pname = "ocaml${ocaml.version}-sodium"; 5 version = "0.6.0";