mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
58 lines
1.8 KiB
JSON
58 lines
1.8 KiB
JSON
{
|
|
"version": "1.6.12",
|
|
"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": "mingw-winlibs",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nim-lang.org/download/nim-1.6.12_x64.zip",
|
|
"hash": "d226309a33bb965076e105c53d9050268e994cd15ea050f6e15b9da4ed096afb"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nim-lang.org/download/nim-1.6.12_x32.zip",
|
|
"hash": "2ed2d52c18276a57dc7ca56f13f0b3f32c170e033e939529aef32680ecfc2bce"
|
|
}
|
|
},
|
|
"extract_dir": "nim-1.6.12",
|
|
"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"
|
|
}
|
|
}
|