2018-12-31 23:00:21 +00:00

56 lines
1.6 KiB
JSON

{
"homepage": "https://nim-lang.org/",
"version": "0.19.2",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-0.19.2_x64.zip",
"hash": "81b386fcc281e4f70d27760e3f941b153909aa2a14dd0e37495ad65e6164749a"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-0.19.2_x32.zip",
"hash": "da0a5a7846f061c48e2b88f20fbdc41cc745b6803bab5b978af4eb153046f36a"
}
},
"depends": "gcc",
"extract_dir": "nim-0.19.2",
"post_install": [
"# Copy Nimble package",
"Copy-Item -Recurse \"$dir\\dist\\nimble\\src\\nimblepkg\" \"$dir\\bin\""
],
"bin": [
"bin\\c2nim.exe",
"bin\\makelink.exe",
"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"
}
}