ocamlPackages.ppx_tools_versioned: remove spurious dependency to camlp4

This commit is contained in:
Vincent Laporte 2018-07-09 17:15:33 +00:00
parent 0299641c91
commit 131e9f59e8
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,11 +1,9 @@
{ stdenv, buildOcaml, fetchFromGitHub, ocaml-migrate-parsetree }: { stdenv, fetchFromGitHub, ocaml, findlib, ocaml-migrate-parsetree }:
buildOcaml rec { stdenv.mkDerivation rec {
name = "ppx_tools_versioned"; name = "ocaml${ocaml.version}-ppx_tools_versioned-${version}";
version = "5.1"; version = "5.1";
minimumSupportedOcamlVersion = "4.02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "let-def"; owner = "let-def";
repo = "ppx_tools_versioned"; repo = "ppx_tools_versioned";
@ -13,6 +11,8 @@ buildOcaml rec {
sha256 = "1c7kvca67qpyr4hiy492yik5x31lmkhyhy5wpl0l0fbx7fr7l624"; sha256 = "1c7kvca67qpyr4hiy492yik5x31lmkhyhy5wpl0l0fbx7fr7l624";
}; };
buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ ocaml-migrate-parsetree ]; propagatedBuildInputs = [ ocaml-migrate-parsetree ];
createFindlibDestdir = true; createFindlibDestdir = true;