ocamlPackages.ppx_tools: init at 5.0+4.05

This commit is contained in:
Vincent Laporte 2017-02-27 18:57:26 +00:00
parent 1f779398c9
commit 9431e49822

View File

@ -1,17 +1,20 @@
{ stdenv, fetchFromGitHub, ocaml, findlib }:
let param = {
"4.02.3" = {
"4.02" = {
version = "5.0+4.02.0";
sha256 = "16drjk0qafjls8blng69qiv35a84wlafpk16grrg2i3x19p8dlj8"; };
"4.03.0" = {
"4.03" = {
version = "5.0+4.03.0";
sha256 = "061v1fl5z7z3ywi4ppryrlcywnvnqbsw83ppq72qmkc7ma4603jg"; };
"4.04.0" = {
"4.04" = {
version = "unstable-20161114";
rev = "49c08e2e4ea8fef88692cd1dcc1b38a9133f17ac";
sha256 = "0ywzfkf5brj33nwh49k9if8x8v433ral25f3nbklfc9vqr06zrfl"; };
}."${ocaml.version}";
"4.05" = {
version = "5.0+4.05.0";
sha256 = "1jvvhk6wnkvm7b9zph309ihsc0hyxfpahmxxrq19vx8c674jsdm4"; };
}."${ocaml.meta.branch}";
in
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-ppx_tools-${param.version}";