1{stdenv, fetchurl, ocaml, findlib}:
2
3assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.11";
4
5stdenv.mkDerivation {
6
7 name = "ocaml-functory-0.5";
8
9 src = fetchurl {
10 url = https://www.lri.fr/~filliatr/functory/download/functory-0.5.tar.gz;
11 sha256 = "1j17rhifdjv1z262dma148ywg34x0zjn8vczdrnkwajsm4qg1hw3";
12 };
13
14 buildInputs = [ ocaml findlib ];
15
16 installTargets = "ocamlfind-install";
17
18 createFindlibDestdir = true;
19
20 meta = with stdenv.lib; {
21 homepage = https://www.lri.fr/~filliatr/functory/;
22 description = "A distributed computing library for Objective Caml which facilitates distributed execution of parallelizable computations in a seamless fashion";
23 license = licenses.lgpl21;
24 maintainers = [ maintainers.vbgl ];
25 platforms = ocaml.meta.platforms;
26 };
27}