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