2023-06-27 12:30:58 +00:00

58 lines
1.8 KiB
JSON

{
"version": "1.6.14",
"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.14_x64.zip",
"hash": "11b822da0df8af2d764b8ed3ab5ed80f06551f63237f67413ca4df86cf41acf5"
},
"32bit": {
"url": "https://nim-lang.org/download/nim-1.6.14_x32.zip",
"hash": "9e9fdac12efe20ca7dc79c26c8b96f2beaee86aaed458b59c956fecd2914848e"
}
},
"extract_dir": "nim-1.6.14",
"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"
}
}