mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-09 10:11:21 +00:00
Update Nim to 0.15.2. (#1094)
This commit is contained in:
parent
1f11a61ab3
commit
e04d2129a6
22
nim.json
22
nim.json
@ -1,26 +1,22 @@
|
||||
{
|
||||
"homepage": "http://nim-lang.org/",
|
||||
"version": "0.15.0",
|
||||
"version": "0.15.2",
|
||||
"license": "MIT",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "http://nim-lang.org/download/nim-0.15.0_x64.exe#/dl.7z",
|
||||
"hash": "7bb9321cd9fb2860d36ee9b248e0202d7d4e36e2272a2f128fbce96fd4a9bfd6"
|
||||
"url": "http://nim-lang.org/download/nim-0.15.2_x64.zip",
|
||||
"hash": "ceea42de6ebcd41032ee51f04526dc4cf2cbb0958ca6ad2321cf21944e05f553"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "http://nim-lang.org/download/nim-0.15.0_x32.exe#/dl.7z",
|
||||
"hash": "0ca8931e3369735bbafdf93de98a8fd0f425870f1173845e7601922a5e00c3c2"
|
||||
"url": "http://nim-lang.org/download/nim-0.15.2_x32.zip",
|
||||
"hash": ""
|
||||
}
|
||||
},
|
||||
"depends": "gcc",
|
||||
"extract_dir": "nim-0.15.2",
|
||||
"post_install": "
|
||||
# Copy Nimble package
|
||||
Copy-Item -Recurse $dir\\dist\\nimble\\src\\nimblepkg $dir\\bin
|
||||
# Download DLLs
|
||||
Invoke-WebRequest http://nim-lang.org/download/dlls.zip -OutFile $dir\\dlls.zip
|
||||
Expand-Archive $dir\\dlls.zip $dir\\bin
|
||||
# Removes installation cruft
|
||||
rm -r $dir\\`$PLUGINSDIR
|
||||
rm $dir\\dlls.zip",
|
||||
# Copy Nimble package
|
||||
Copy-Item -Recurse $dir\\dist\\nimble\\src\\nimblepkg $dir\\bin
|
||||
",
|
||||
"env_add_path": "bin"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user