mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-22 16:52:29 +00:00
27 lines
873 B
JSON
27 lines
873 B
JSON
{
|
|
"homepage": "http://nim-lang.org/",
|
|
"version": "0.15.0",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "http://nim-lang.org/download/nim-0.15.0_x64.exe#/dl.7z",
|
|
"hash": "7bb9321cd9fb2860d36ee9b248e0202d7d4e36e2272a2f128fbce96fd4a9bfd6"
|
|
},
|
|
"32bit": {
|
|
"url": "http://nim-lang.org/download/nim-0.15.0_x32.exe#/dl.7z",
|
|
"hash": "0ca8931e3369735bbafdf93de98a8fd0f425870f1173845e7601922a5e00c3c2"
|
|
}
|
|
},
|
|
"depends": "gcc",
|
|
"post_install": "
|
|
# Copy Nimble package
|
|
Copy-Item -Recurse $dir\\dist\\nimble\\src\\nimblepkg $dir\\bin
|
|
# Download DLLs
|
|
Invoke-WebRequest http://nim-lang.org/download/dlls.zip -OutFile $dir\\dlls.zip
|
|
Expand-Archive $dir\\dlls.zip $dir\\bin
|
|
# Removes installation cruft
|
|
rm -r $dir\\`$PLUGINSDIR
|
|
rm $dir\\dlls.zip",
|
|
"env_add_path": "bin"
|
|
}
|