mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-16 13:41:21 +00:00
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"homepage": "https://nim-lang.org/",
|
|
"version": "0.17.2",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nim-lang.org/download/nim-0.17.2_x64.zip",
|
|
"hash": "99c0e0d128ffd0fd368ca184afde807066167eef188a5e57f1c49b5bd3776fe0"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nim-lang.org/download/nim-0.17.2_x32.zip",
|
|
"hash": "7eb9881de6ffa1ff080106fb336685763a7a1db578b8f2a2affe2d9b318ff6b4"
|
|
}
|
|
},
|
|
"depends": "gcc",
|
|
"extract_dir": "nim-0.17.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"
|
|
}
|
|
}
|