2020-06-17 09:00:25 +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.2",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-1.2.2_x64.zip",
"hash": "142ade2508bf5c8020a1bafeb9383fbdc424161f1bd966172732035a1024f59a"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-1.2.2_x32.zip",
"hash": "7aca1fd47dc4e6348ed7399375775bfc056f0c0fd4d78676e48440244be97e18"
}
},
"depends": "gcc",
"extract_dir": "nim-1.2.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\\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"
}
}