Update haskell to version 8.6.5 (by dropping 32bit support) (#175)

This commit is contained in:
Joshua Hall 2019-06-26 22:38:53 -05:00 committed by Hsiao-nan Cheung
parent bfdd37482e
commit 2b7858b061

View File

@ -1,27 +1,24 @@
{ {
"homepage": "https://www.haskell.org", "homepage": "https://www.haskell.org",
"version": "8.6.3", "version": "8.6.5",
"license": "BSD-3-Clause",
"description": "An advanced, purely functional programming language.",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://haskell.org/platform/download/8.6.3/HaskellPlatform-8.6.3-core-x86_64-setup.exe", "url": "https://haskell.org/platform/download/8.6.5/HaskellPlatform-8.6.5-core-x86_64-setup.exe#/dl.7z",
"hash": "d94df2008a96a12957d27e4a99bbee38bd84f096a9474ede20126c73c89c1304" "hash": "b557748749f6c4073885ecdf43f7cd5d4d8c8f90712665943a1d265d78bb38c6",
}, "extract_dir": "$_14_"
"32bit": {
"url": "https://haskell.org/platform/download/8.6.3/HaskellPlatform-8.6.3-core-i386-setup.exe",
"hash": "e7ced4ec8aaee98cb49fd8e1d7dbd3f63fb148fec354e1bd7998a5e4e622f6b9"
} }
}, },
"installer": { "installer": {
"args": [ "script": [
"/S", "Expand-7zipArchive -Path \"$dir\\HaskellPlatform-$version-core-x86_64-setup.exe\" -ExtractDir '$_15_' -Removal",
"/D=$dir" "Get-ChildItem -Path \"$dir\" | Convert-Path | ForEach-Object { Expand-7zipArchive -Path $_ -Removal }",
"Remove-Item -Path \"$dir\\`$PLUGINSDIR\", \"$dir\\*uninstall*\" -Recurse -Force"
] ]
}, },
"uninstaller": {
"file": "Uninstall.exe",
"args": "/S"
},
"bin": [ "bin": [
"stack.exe",
"bin\\ghc.exe", "bin\\ghc.exe",
"bin\\ghci.exe", "bin\\ghci.exe",
"bin\\ghc-pkg.exe", "bin\\ghc-pkg.exe",
@ -30,29 +27,29 @@
"bin\\hpc.exe", "bin\\hpc.exe",
"bin\\hsc2hs.exe", "bin\\hsc2hs.exe",
"bin\\runghc.exe", "bin\\runghc.exe",
"bin\\runhaskell.exe", "bin\\runhaskell.exe"
"lib\\extralibs\\bin\\cabal.exe"
], ],
"shortcuts": [
[
"winghci\\winghci.exe",
"WinGHCi"
]
],
"env_add_path": "lib\\extralibs\\bin",
"checkver": { "checkver": {
"url": "https://www.haskell.org/platform/windows.html", "url": "https://www.haskell.org/platform/windows.html",
"re": "The latest version of the Haskell Platform for Windows is\\s+<strong>([\\d.]+)<\\/strong>" "regex": "<strong>([\\d.]+)</strong>"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-x86_64-setup.exe", "url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-x86_64-setup.exe#/dl.7z",
"hash": { "hash": {
"url": "https://www.haskell.org/platform/windows.html", "url": "https://www.haskell.org/platform/windows.html",
"regex": "(?sm)Start Menu.*64 bit Core:<br><textarea.+>$sha256.*32 bit Core" "regex": ">$sha256<"
}
},
"32bit": {
"url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-i386-setup.exe",
"hash": {
"url": "https://www.haskell.org/platform/windows.html",
"regex": "32 bit Core:<br><textarea.+>$sha256"
} }
} }
} }
} },
"notes": "For 32bit Haskell, please install 'versions/haskell863'."
} }