/
elixir@1.15.7-otp-26.json
25 lines (25 loc) · 1.59 KB
/
elixir@1.15.7-otp-26.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"version": "1.15.7-otp-26",
"description": "A dynamic and functional programming language designed for building scalable and maintainable applications.",
"homepage": "https://elixir-lang.org/",
"license": "Apache-2.0",
"#requires": "erlang ~ OTP 24 thru OTP 26 (ref: <https://elixirforum.com/t/error-beam-beam-load-c-86-error-loading-module-elixir-code-formatter/48003>)",
"#requires-check": "use `$otp_version=$(\"$(& erl -noshell -eval `\"erlang:display(erlang:system_info(otp_release))`\" -eval `\"init:stop()`\")\").trim('\"')` to check the installed Erlang version",
"suggest": { "Erlang compiler": "erlang" },
"url": "https://github.com/elixir-lang/elixir/releases/download/v1.15.7/elixir-otp-26.zip",
"hash": "sha256:10370b04df55fcd93fd016125d5c9bbe1aab5a7ffa99691f6197e3829e32af34",
"env_add_path": "bin",
"pre_install": [
"$req_version=26",
"$otp_version=\"$(try { & erl -noshell -eval `\"erlang:display(erlang:system_info(otp_release))`\" -eval `\"init:stop()`\" } catch {''})\".trim('\"')",
"if ($otp_version -ne $req_version) { Write-Host 'Elixir requires Erlang/OTP' $req_version '(have' $otp_version '); please install the correct version (see `erl -noshell -eval \"erlang:display(erlang:system_info(otp_release))\" -eval \"init:stop()\"`)' -ForegroundColor Red ; exit 1 }"
],
"checkver": { "github": "https://github.com/elixir-lang/elixir" },
"autoupdate": {
"url": "https://github.com/elixir-lang/elixir/releases/download/v$version/Precompiled.zip",
"hash": {
"url": "https://github.com/elixir-lang/elixir/releases/tag/v$version/",
"regex": "$basename SHA512: $sha512"
}
}
}