kraptor 8838415e92 Update nim.json: official ZIP files were updated for version 0.20 (#115)
Nim devs updated the zip files, and new hashes are needed:

PS > Get-FileHash .\nim-0.20.0_x32.zip

Algorithm       Hash                                                              
---------       ----                                                                   
SHA256          01801B88A8BA4974656B202C7AD6349C08D69D2E35456DF3F065D20A11C18ABC       

PS > Get-FileHash .\nim-0.20.0_x64.zip

Algorithm       Hash                                                           
---------       ----                                                                
SHA256          47CE2A7E77C6BA65266EB35A3319CAFE24E6845947BFBDCAE929E57892CA1491
2019-06-06 18:31:12 -04:00

54 lines
1.6 KiB
JSON

{
"homepage": "https://nim-lang.org/",
"version": "0.20.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-0.20.0_x64.zip",
"hash": "47ce2a7e77c6ba65266eb35a3319cafe24e6845947bfbdcae929e57892ca1491"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-0.20.0_x32.zip",
"hash": "01801b88a8ba4974656b202c7ad6349c08d69d2e35456df3f065d20a11c18abc"
}
},
"depends": "gcc",
"extract_dir": "nim-0.20.0",
"post_install": [
"# Copy Nimble package",
"Copy-Item -Recurse \"$dir\\dist\\nimble\\src\\nimblepkg\" \"$dir\\bin\""
],
"bin": [
"bin\\nim.exe",
"bin\\nimble.exe",
"bin\\nimgrab.exe",
"bin\\nimgrep.exe",
"bin\\nimsuggest.exe",
"bin\\vccexe.exe"
],
"checkver": {
"url": "https://nim-lang.org/install_windows.html",
"re": "nim-([\\d.]+)_x64"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-$version_x64.zip"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-$version_x32.zip"
}
},
"extract_dir": "nim-$version",
"hash": {
"url": "$url.sha256"
}
},
"installer": {
"script": "add_first_in_path \"$env:USERPROFILE\\.nimble\\bin\" $global"
},
"uninstaller": {
"script": "remove_from_path \"$env:USERPROFILE\\.nimble\\bin\" $global"
}
}