2019-08-14 18:45:50 -07:00

55 lines
1.7 KiB
JSON

{
"homepage": "https://nim-lang.org/",
"description": "A statically typed compiled systems programming language, which combines successful concepts from mature languages like Python, Ada and Modula.",
"version": "0.20.2",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-0.20.2_x64.zip",
"hash": "ccd258ae90d2af2eb1042830f1204920e8d44b6947aedb56458110cf9a714207"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-0.20.2_x32.zip",
"hash": "4a01f826dec15943fff3a0783f52436576c4c583ef92108c8ec8db1b89363469"
}
},
"depends": "gcc",
"extract_dir": "nim-0.20.2",
"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\\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"
}
}