mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 06:41:19 +00:00
58 lines
1.8 KiB
JSON
58 lines
1.8 KiB
JSON
{
|
|
"version": "1.6.6",
|
|
"description": "A statically typed compiled systems programming language, which combines successful concepts from mature languages like Python, Ada and Modula.",
|
|
"homepage": "https://nim-lang.org/",
|
|
"license": "MIT",
|
|
"depends": "gcc",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nim-lang.org/download/nim-1.6.6_x64.zip",
|
|
"hash": "4f3eb453565ff2e65c6d726787c716af39b17859c14497636606d69d63876f18"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nim-lang.org/download/nim-1.6.6_x32.zip",
|
|
"hash": "11c6248fd3643fec761d3b0f99bba987e723b982a4891fdb18134cd2835705f6"
|
|
}
|
|
},
|
|
"extract_dir": "nim-1.6.6",
|
|
"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\\nimpretty.exe",
|
|
"bin\\nimsuggest.exe",
|
|
"bin\\vccexe.exe",
|
|
"bin\\testament.exe"
|
|
],
|
|
"persist": "config",
|
|
"checkver": {
|
|
"url": "https://nim-lang.org/install_windows.html",
|
|
"regex": "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"
|
|
}
|
|
}
|