mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
camlp4: add new versions
This commit is contained in:
parent
7383c704e2
commit
64ed431483
1 changed files with 16 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchzip, which, ocaml, ocamlbuild }:
|
||||
|
||||
if lib.versionAtLeast ocaml.version "4.09"
|
||||
if lib.versionAtLeast ocaml.version "4.14"
|
||||
then throw "camlp4 is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
|
@ -26,6 +26,21 @@ let param = {
|
|||
"4.08" = {
|
||||
version = "4.08+1";
|
||||
sha256 = "0qplawvxwai25bi27niw2cgz2al01kcnkj8wxwhxslpi21z6pyx1"; };
|
||||
"4.09" = {
|
||||
version = "4.09+1";
|
||||
sha256 = "1gr33x6xs1rs0bpyq4vzyfxd6vn47jfkg8imi81db2r0cbs0kxx1"; };
|
||||
"4.10" = {
|
||||
version = "4.10+1";
|
||||
sha256 = "093bc1c28wid5li0jwglnd4p3csxw09fmbs9ffybq2z41a5mgay6"; };
|
||||
"4.11" = {
|
||||
version = "4.11+1";
|
||||
sha256 = "0sn7f6im940qh0ixmx1k738xrwwdvy9g7r19bv5218jb6mh0g068"; };
|
||||
"4.12" = {
|
||||
version = "4.12+1";
|
||||
sha256 = "1cfk5ppnd511vzsr9gc0grxbafmh0m3m897aij198rppzxps5kyz"; };
|
||||
"4.13" = {
|
||||
version = "4.13+1";
|
||||
sha256 = "0fzxa1zdhk74mlxpin7p90flks6sp4gkc0mfclmj9zak15rii55n"; };
|
||||
}.${ocaml.meta.branch};
|
||||
in
|
||||
|
||||
|
|
Loading…
Reference in a new issue