2012-01-16 10:20:13 +00:00
|
|
|
{stdenv, fetchurl, ocaml, findlib, ocaml_typeconv}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-04-09 10:42:20 +01:00
|
|
|
name = "ocaml-sexplib-7.0.5";
|
2012-01-16 10:20:13 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-04-09 10:42:20 +01:00
|
|
|
url = "http://forge.ocamlcore.org/frs/download.php/832/sexplib-7.0.5.tar.gz";
|
|
|
|
sha256 = "b1022da052254581aae51fb634345920364439f715a2c786abcd0b828c2ce697";
|
2012-01-16 10:20:13 +00:00
|
|
|
};
|
|
|
|
|
2012-07-30 23:50:48 +01:00
|
|
|
patches = [ ./sexp-3.10-compat.patch ./sexplib-7.0.5-patch-ocamlbuild-ocaml4.patch ];
|
2012-04-09 10:42:20 +01:00
|
|
|
buildInputs = [ocaml findlib ocaml_typeconv ];
|
2012-01-16 10:20:13 +00:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://forge.ocamlcore.org/projects/sexplib/";
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Library for serializing OCaml values to and from S-expressions";
|
2012-01-16 10:20:13 +00:00
|
|
|
license = "LGPL";
|
|
|
|
platforms = ocaml.meta.platforms;
|
|
|
|
};
|
|
|
|
}
|