mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-07 17:21:20 +00:00
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"homepage": "https://nim-lang.org/",
|
|
"version": "0.18.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nim-lang.org/download/nim-0.18.0_x64.zip",
|
|
"hash": "78e48ced6d9fe2600131795bcbbfd37daa28ebb98ba581f90c432bc4a8959d8f"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nim-lang.org/download/nim-0.18.0_x32.zip",
|
|
"hash": "3eb4c4ef649eb88bf5f8e4759f727e9401df27aa936ea8f8a701b4fe99e65e13"
|
|
}
|
|
},
|
|
"depends": "gcc",
|
|
"extract_dir": "nim-0.18.0",
|
|
"post_install": "
|
|
# Copy Nimble package
|
|
Copy-Item -Recurse \"$dir\\dist\\nimble\\src\\nimblepkg\" \"$dir\\bin\"
|
|
",
|
|
"bin": [
|
|
"bin\\c2nim.exe",
|
|
"bin\\makelink.exe",
|
|
"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"
|
|
}
|
|
}
|