2016-10-08 06:44:25 +00:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, type_conv, ounit, camlp4 }:
|
2014-01-31 05:44:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml-data-notation-0.0.11";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://forge.ocamlcore.org/frs/download.php/1310/ocaml-data-notation-0.0.11.tar.gz;
|
|
|
|
sha256 = "09a8zdyifpc2nl4hdvg9206142y31cq95ajgij011s1qcg3z93lj";
|
|
|
|
};
|
|
|
|
|
2016-10-08 06:44:25 +00:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild type_conv ounit camlp4 ];
|
2014-01-31 05:44:42 +00:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
configurePhase = "ocaml setup.ml -configure";
|
|
|
|
buildPhase = "ocaml setup.ml -build";
|
|
|
|
installPhase = "ocaml setup.ml -install";
|
|
|
|
|
2014-10-10 14:57:44 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-01-31 05:44:42 +00:00
|
|
|
description = "Store data using OCaml notation";
|
|
|
|
homepage = https://forge.ocamlcore.org/projects/odn/;
|
2014-10-10 14:57:44 +00:00
|
|
|
license = licenses.lgpl21;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-10-10 14:57:44 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
vbgl z77z
|
2014-01-31 05:44:42 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|