2022-09-27 16:32:11 +00:00

58 lines
1.8 KiB
JSON

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