2019-09-23 21:00:15 +00: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": "1.0.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-1.0.0_x64.zip",
"hash": "f20e4f2dd4014bf5765d2d700c7d8822ccc8e56563a8849ee5f645af71142cbf"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-1.0.0_x32.zip",
"hash": "b41aa24ad8a611d051cf182e112e8d7a7785beb696e5903432eb273ae3d7d4e6"
}
},
"depends": "gcc",
"extract_dir": "nim-1.0.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\\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"
}
}