h404bi ccc24e57b6 Init scoop-main bucket
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: Richard Kuhnt <r15ch13+git@gmail.com>
2019-04-22 20:56:04 +08:00

54 lines
1.6 KiB
JSON

{
"homepage": "https://nim-lang.org/",
"version": "0.19.4",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-0.19.4_x64.zip",
"hash": "60e4098921b17b4849a6c6105d588cf59407e1311ff0b5b38805050ba9c7818f"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-0.19.4_x32.zip",
"hash": "c54f33f7733eb79175f9e6e4d35b807de44151a8f80cd9f658305e76d906facd"
}
},
"depends": "gcc",
"extract_dir": "nim-0.19.4",
"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"
}
}