diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-10-09 07:09:09 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-10-09 08:02:11 +0000 |
commit | 28cd0f240a0fc73e579899adb9a6296adf3bd761 (patch) | |
tree | b2d85100fba28f553f5cf654124b07c96b8f8f96 | |
parent | 701316450cc044d5294add2ed25f876b7a891420 (diff) |
ocamlPackages.ppx_ast: 0.9.0 -> 0.9.{1,2}
-rw-r--r-- | pkgs/development/ocaml-modules/janestreet/default.nix | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/janestreet/default.nix b/pkgs/development/ocaml-modules/janestreet/default.nix index 8fc1ddf9063aa..4aabb976ee174 100644 --- a/pkgs/development/ocaml-modules/janestreet/default.nix +++ b/pkgs/development/ocaml-modules/janestreet/default.nix @@ -27,12 +27,19 @@ rec { meta.description = "OCaml compiler libraries repackaged"; }; - ppx_ast = janePackage { + ppx_ast = janePackage ({ name = "ppx_ast"; - hash = "0p9v4q3cjz8wwdrh6bjidani2npzvhdy8isnqwigqkl6n326dba9"; propagatedBuildInputs = [ ocaml-compiler-libs ocaml-migrate-parsetree ]; meta.description = "OCaml AST used by Jane Street ppx rewriters"; - }; + } // (if lib.versionAtLeast ocaml.version "4.06" + then { + version = "0.9.2"; + hash = "1h4qf26rg23z21rrw83fakiavw9km7174p3830pg0gg4bwakvba0"; + } else { + version = "0.9.1"; + hash = "0a9rxwavy2748k0yd4db3hg1ypq7mpqnwq9si5a5qdiclgkhcggw"; + } + )); ppx_traverse_builtins = janePackage { name = "ppx_traverse_builtins"; |