ocamlPackages.sodium: build on later OCaml versions

main
Antonio Nuno Monteiro 3 years ago committed by Vincent Laporte
parent f8f4575030
commit b464f0573e
  1. 4
      pkgs/development/ocaml-modules/sodium/default.nix

@ -1,9 +1,5 @@
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ctypes, libsodium }:
if lib.versionAtLeast ocaml.version "4.10"
then throw "sodium is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-sodium";
version = "0.6.0";

Loading…
Cancel
Save