1 { lib, stdenv, fetchurl, ocaml, findlib }:
3 assert lib.versionAtLeast (lib.getVersion ocaml) "3.11";
6 if lib.versionAtLeast ocaml.version "4.02" then {
8 sha256 = "18wpyxblz9jh5bfp0hpffnd0q8cq1b0dqp0f36vhqydfknlnpx8y";
11 sha256 = "1j17rhifdjv1z262dma148ywg34x0zjn8vczdrnkwajsm4qg1hw3";
16 pname = "ocaml${ocaml.version}-functory";
17 inherit (param) version;
20 url = "https://www.lri.fr/~filliatr/functory/download/functory-${param.version}.tar.gz";
21 inherit (param) sha256;
24 nativeBuildInputs = [ ocaml findlib ];
28 installTargets = [ "ocamlfind-install" ];
30 createFindlibDestdir = true;
33 homepage = "https://www.lri.fr/~filliatr/functory/";
34 description = "A distributed computing library for Objective Caml which facilitates distributed execution of parallelizable computations in a seamless fashion";
35 license = licenses.lgpl21;
36 maintainers = [ maintainers.vbgl ];
37 inherit (ocaml.meta) platforms;