mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			58 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "1.6.0",
 | 
						|
    "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": "gcc",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://nim-lang.org/download/nim-1.6.0_x64.zip",
 | 
						|
            "hash": "52a5d3ae061d97bae68e64e793967a212cac49039c7589c81b78d2ef8f23e035"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://nim-lang.org/download/nim-1.6.0_x32.zip",
 | 
						|
            "hash": "0386847b932942051c43d9297b43ad0c3e066be04dc3e181c7d793e0f5230dae"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "extract_dir": "nim-1.6.0",
 | 
						|
    "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"
 | 
						|
    }
 | 
						|
}
 |