Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 16.09 25 lines 712 B view raw
1{stdenv, fetchurl, ocaml, findlib}: 2 3assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12"; 4 5stdenv.mkDerivation { 6 7 name = "ocaml-fix-20130611"; 8 9 src = fetchurl { 10 url = http://gallium.inria.fr/~fpottier/fix/fix-20130611.tar.gz; 11 sha256 = "1phlqcs1nb93x9cf0w0hnq2ck4dmn71zm4mxf60w96vb9yb9qzp0"; 12 }; 13 14 buildInputs = [ ocaml findlib ]; 15 16 createFindlibDestdir = true; 17 18 meta = with stdenv.lib; { 19 homepage = http://gallium.inria.fr/~fpottier/fix/; 20 description = "A simple OCaml module for computing the least solution of a system of monotone equations"; 21 license = licenses.cecill-c; 22 maintainers = [ maintainers.vbgl ]; 23 platforms = ocaml.meta.platforms or []; 24 }; 25}