at 15.09-beta 28 lines 818 B view raw
1{stdenv, fetchurl, ocaml, findlib, type_conv, ounit, camlp4}: 2 3stdenv.mkDerivation { 4 name = "ocaml-data-notation-0.0.11"; 5 6 src = fetchurl { 7 url = https://forge.ocamlcore.org/frs/download.php/1310/ocaml-data-notation-0.0.11.tar.gz; 8 sha256 = "09a8zdyifpc2nl4hdvg9206142y31cq95ajgij011s1qcg3z93lj"; 9 }; 10 11 buildInputs = [ocaml findlib type_conv ounit camlp4]; 12 13 createFindlibDestdir = true; 14 15 configurePhase = "ocaml setup.ml -configure"; 16 buildPhase = "ocaml setup.ml -build"; 17 installPhase = "ocaml setup.ml -install"; 18 19 meta = with stdenv.lib; { 20 description = "Store data using OCaml notation"; 21 homepage = https://forge.ocamlcore.org/projects/odn/; 22 license = licenses.lgpl21; 23 platforms = ocaml.meta.platforms; 24 maintainers = with maintainers; [ 25 vbgl z77z 26 ]; 27 }; 28}