{
    "version": "6.0.37",
    "description": "A parallel computing platform and programming model invented by NVIDIA",
    "homepage": "https://developer.nvidia.com/cuda/toolkit",
    "license": {
        "identifier": "Freeware",
        "url": "https://docs.nvidia.com/cuda/eula/index.html"
    },
    "architecture": {
        "64bit": {
            "url": "https://developer.download.nvidia.com/compute/cuda/6_0/rel/installers/cuda_6.0.37_winvista_win7_win8.1_general_64.exe#/dl.7z",
            "hash": "2fb61339862aa97471cfbc659d0fd6a1fd463a52aab564adf20100b4767f307c"
        },
        "32bit": {
            "url": "https://developer.download.nvidia.com/compute/cuda/6_0/rel/installers/cuda_6.0.37_winvista_win7_win8.1_general_32.exe#/dl.7z",
            "hash": "487abbd0d950a1a2c752afc95d28b0b41136e604cc352e3667b6f14948e45d78"
        }
    },
    "installer": {
        "script": [
            "$names = @('bin', 'extras', 'include', 'jre', 'lib', 'libnvvp', 'nvml', 'nvvm')",
            "foreach ($name in $names) {",
            "    Copy-Item \"$dir\\*\\$name\" \"$dir\\\" -Recurse -Force",
            "}",
            "Get-ChildItem \"$dir\" -Exclude $names | Remove-Item -Force -Recurse"
        ]
    },
    "env_add_path": [
        "bin",
        "libnvvp"
    ],
    "env_set": {
        "CUDA_PATH": "$dir",
        "CUDA_PATH_V6_0": "$dir"
    }
}
