mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-13 04:01:19 +00:00
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"homepage": "https://nim-lang.org/",
|
|
"version": "0.19.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nim-lang.org/download/nim-0.19.0_x64.zip",
|
|
"hash": "dab7bdc35f826581faa124c3b826e7bb9222e94ea4c056233779d0d4d777a283"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nim-lang.org/download/nim-0.19.0_x32.zip",
|
|
"hash": "1fdbbc8afe24f551f2a6ac3a1d5a40ba057534e3a11a370882753f8724d03d66"
|
|
}
|
|
},
|
|
"depends": "gcc",
|
|
"extract_dir": "nim-0.19.0",
|
|
"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"
|
|
}
|
|
}
|