2019-11-27 16:01:09 +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.0.4",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-1.0.4_x64.zip",
"hash": "e1f09f02d294aaac4c474fb94a08fa77ee4014784026e4e2ffbe55e9bc12b293"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-1.0.4_x32.zip",
"hash": "a6a2beb099a276e259013a016addfcbf128bd33cccb5bdca56b06b63edcb7610"
}
},
"depends": "gcc",
"extract_dir": "nim-1.0.4",
"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"
}
}