2026-02-23 12:33:11 +00:00

61 lines
1.9 KiB
JSON

{
"version": "2.2.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",
"suggest": {
"MinGW": "mingw-winlibs"
},
"architecture": {
"64bit": {
"url": "https://nim-lang.org/download/nim-2.2.8_x64.zip",
"hash": "11fe2415a64a791b899cc78e2eeacdde93b5f122f2fabc447db36d38002bfb8c"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-2.2.8_x32.zip",
"hash": "69033d8ad53e2d3db25b227f054208edacc914e9430206375680663ab19d82cb"
}
},
"extract_dir": "nim-2.2.8",
"post_install": [
"# Copy Nimble package",
"Copy-Item -Recurse \"$dir\\dist\\nimble\\src\\nimblepkg\" \"$dir\\bin\""
],
"bin": [
"bin\\atlas.exe",
"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-Path -Path \"$env:USERPROFILE\\.nimble\\bin\" -Global:$global"
},
"uninstaller": {
"script": "Remove-Path -Path \"$env:USERPROFILE\\.nimble\\bin\" -Global:$global"
}
}