2021-01-13 07:15:05 +01:00

61 lines
2.0 KiB
JSON

{
"version": "8.6.5",
"description": "An advanced, purely functional programming language.",
"homepage": "https://www.haskell.org",
"license": "BSD-3-Clause",
"notes": [
"For Haskell Stack, please install 'stack'.",
"For 32bit Haskell, please install 'versions/haskell863'."
],
"suggest": {
"Stack": "stack"
},
"architecture": {
"64bit": {
"url": "https://haskell.org/platform/download/8.6.5/HaskellPlatform-8.6.5-core-x86_64-setup.exe#/dl.7z",
"hash": "b557748749f6c4073885ecdf43f7cd5d4d8c8f90712665943a1d265d78bb38c6",
"extract_dir": "$_14_"
}
},
"installer": {
"script": [
"Expand-7zipArchive -Path \"$dir\\HaskellPlatform-$version-core-x86_64-setup.exe\" -ExtractDir '$_15_' -Removal",
"Get-ChildItem -Path \"$dir\" -Exclude 'stack*' | Convert-Path | ForEach-Object { Expand-7zipArchive -Path $_ -Removal }",
"Remove-Item -Path \"$dir\\`$PLUGINSDIR\", \"$dir\\*uninstall*\", \"$dir\\stack*\" -Recurse -Force"
]
},
"bin": [
"bin\\ghc.exe",
"bin\\ghci.exe",
"bin\\ghc-pkg.exe",
"bin\\haddock.exe",
"bin\\hp2ps.exe",
"bin\\hpc.exe",
"bin\\hsc2hs.exe",
"bin\\runghc.exe",
"bin\\runhaskell.exe"
],
"shortcuts": [
[
"winghci\\winghci.exe",
"WinGHCi"
]
],
"env_add_path": "lib\\extralibs\\bin",
"checkver": {
"url": "https://www.haskell.org/platform/windows.html",
"regex": "<strong>([\\d.]+)</strong>"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-x86_64-setup.exe#/dl.7z",
"hash": {
"url": "https://www.haskell.org/platform/windows.html",
"regex": ">$sha256<"
}
}
}
}
}