github-actions[bot] 043596cb84
nim: hash fix (#1506)
Co-authored-by: ScoopInstaller <cabera.jakub@gmail.com>
2020-10-17 17:19:03 +08:00

58 lines
1.8 KiB
JSON

{
"version": "1.4.0",
"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.4.0_x64.zip",
"hash": "aa89e4ebbb6f35f5d91566d707393fcddd840b09f407eb34dd6e93610756a84c"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-1.4.0_x32.zip",
"hash": "e838883a604bd87f51215a7fabc40bb95cd8e0faf7b218c68517fa89ed7f3fd9"
}
},
"extract_dir": "nim-1.4.0",
"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"
}
}