mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 06:11:20 +00:00
60 lines
1.9 KiB
JSON
60 lines
1.9 KiB
JSON
{
|
|
"version": "2.2.4",
|
|
"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",
|
|
"suggest": {
|
|
"MinGW": "mingw-winlibs"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nim-lang.org/download/nim-2.2.4_x64.zip",
|
|
"hash": "efcfdfd8b7225e10fe9d619b3288a5b25467c5f39ec526e80501393691274612"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nim-lang.org/download/nim-2.2.4_x32.zip",
|
|
"hash": "cea831b306ca52afc62f8351287967b07aac1586cacc0d21f1a1b6e98cc2e12a"
|
|
}
|
|
},
|
|
"extract_dir": "nim-2.2.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\\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-Path -Path \"$env:USERPROFILE\\.nimble\\bin\" -Global:$global"
|
|
},
|
|
"uninstaller": {
|
|
"script": "Remove-Path -Path \"$env:USERPROFILE\\.nimble\\bin\" -Global:$global"
|
|
}
|
|
}
|