mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
ocaml-sexplib: propagate the dependency to typeconv
And requires camlp4
This commit is contained in:
parent
f214d5394c
commit
a97cf72a27
@ -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;
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user