ocaml-sexplib: propagate the dependency to typeconv

And requires camlp4
This commit is contained in:
Vincent Laporte 2014-09-29 23:54:20 +02:00
parent f214d5394c
commit a97cf72a27
2 changed files with 12 additions and 8 deletions

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib, typeconv}:
{stdenv, fetchurl, ocaml, findlib, typeconv, camlp4}:
let
ocaml_version = (builtins.parseDrvName ocaml.name).version;
@ -14,14 +14,16 @@ stdenv.mkDerivation {
sha256 = "11z1k1d7dbb5m957klgalimpr0r602xp5zkkbgbffib1bphasarg";
};
buildInputs = [ocaml findlib typeconv ];
buildInputs = [ocaml findlib];
propagatedBuildInputs = [typeconv camlp4];
createFindlibDestdir = true;
meta = {
meta = with stdenv.lib; {
homepage = https://ocaml.janestreet.com/;
description = "Library for serializing OCaml values to and from S-expressions";
license = stdenv.lib.licenses.asl20;
license = licenses.asl20;
maintainers = [ maintainers.vbgl ];
platforms = ocaml.meta.platforms;
};
}

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib, ocaml_typeconv}:
{stdenv, fetchurl, ocaml, findlib, ocaml_typeconv, camlp4}:
let
ocaml_version = (builtins.parseDrvName ocaml.name).version;
@ -14,14 +14,16 @@ stdenv.mkDerivation {
sha256 = "0qh0zqp5nakqpmmhh4x7cg03vqj3j2bj4zj0nqdlksai188p9ila";
};
buildInputs = [ocaml findlib ocaml_typeconv ];
buildInputs = [ocaml findlib];
propagatedBuildInputs = [ocaml_typeconv camlp4];
createFindlibDestdir = true;
meta = {
meta = with stdenv.lib; {
homepage = https://ocaml.janestreet.com/;
description = "Library for serializing OCaml values to and from S-expressions";
license = stdenv.lib.licenses.asl20;
license = licenses.asl20;
maintainers = [ maintainers.vbgl ];
platforms = ocaml.meta.platforms;
};
}