2020-04-03 16:01:50 +00:00

58 lines
1.8 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": "1.2.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-1.2.0_x64.zip",
"hash": "0e231dd44648f4ecb43ad8068dfa8d1cd1b86e807704c6475fc0d7c4f1341913"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-1.2.0_x32.zip",
"hash": "643cb9d22e21e48dc9e1a5801cb81981ebcea2279821cb7e3b24f33f5165ce66"
}
},
"depends": "gcc",
"extract_dir": "nim-1.2.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",
"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"
}
}