mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "homepage": "https://nim-lang.org/",
 | 
						|
    "version": "0.19.4",
 | 
						|
    "license": "MIT",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://nim-lang.org/download/nim-0.19.4_x64.zip",
 | 
						|
            "hash": "60e4098921b17b4849a6c6105d588cf59407e1311ff0b5b38805050ba9c7818f"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://nim-lang.org/download/nim-0.19.4_x32.zip",
 | 
						|
            "hash": "c54f33f7733eb79175f9e6e4d35b807de44151a8f80cd9f658305e76d906facd"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "depends": "gcc",
 | 
						|
    "extract_dir": "nim-0.19.4",
 | 
						|
    "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\\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"
 | 
						|
    }
 | 
						|
}
 |