2015-09-06 21:15:10 +02:00
|
|
|
{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}:
|
2014-09-19 20:09:37 +02:00
|
|
|
|
2016-10-05 09:32:30 +02:00
|
|
|
assert stdenv.lib.versionOlder "3.12" ocaml.version;
|
2014-09-19 20:09:37 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml-sexplib-108.08.00";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://ocaml.janestreet.com/ocaml-core/108.08.00/individual/sexplib-108.08.00.tar.gz;
|
|
|
|
sha256 = "11z1k1d7dbb5m957klgalimpr0r602xp5zkkbgbffib1bphasarg";
|
|
|
|
};
|
|
|
|
|
2014-09-29 23:54:20 +02:00
|
|
|
buildInputs = [ocaml findlib];
|
2015-09-06 21:15:10 +02:00
|
|
|
propagatedBuildInputs = [type_conv camlp4];
|
2014-09-19 20:09:37 +02:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2014-09-29 23:54:20 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-06 20:40:20 +01:00
|
|
|
branch = "108";
|
2014-09-19 20:09:37 +02:00
|
|
|
homepage = https://ocaml.janestreet.com/;
|
|
|
|
description = "Library for serializing OCaml values to and from S-expressions";
|
2014-09-29 23:54:20 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
2015-12-24 18:49:07 +01:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-09-19 20:09:37 +02:00
|
|
|
};
|
|
|
|
}
|