diff --git a/bucket/haskell.json b/bucket/haskell.json index 748bda3181..19437b862e 100644 --- a/bucket/haskell.json +++ b/bucket/haskell.json @@ -1,27 +1,24 @@ { "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": { "64bit": { - "url": "https://haskell.org/platform/download/8.6.3/HaskellPlatform-8.6.3-core-x86_64-setup.exe", - "hash": "d94df2008a96a12957d27e4a99bbee38bd84f096a9474ede20126c73c89c1304" - }, - "32bit": { - "url": "https://haskell.org/platform/download/8.6.3/HaskellPlatform-8.6.3-core-i386-setup.exe", - "hash": "e7ced4ec8aaee98cb49fd8e1d7dbd3f63fb148fec354e1bd7998a5e4e622f6b9" + "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": { - "args": [ - "/S", - "/D=$dir" + "script": [ + "Expand-7zipArchive -Path \"$dir\\HaskellPlatform-$version-core-x86_64-setup.exe\" -ExtractDir '$_15_' -Removal", + "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": [ + "stack.exe", "bin\\ghc.exe", "bin\\ghci.exe", "bin\\ghc-pkg.exe", @@ -30,29 +27,29 @@ "bin\\hpc.exe", "bin\\hsc2hs.exe", "bin\\runghc.exe", - "bin\\runhaskell.exe", - "lib\\extralibs\\bin\\cabal.exe" + "bin\\runhaskell.exe" ], + "shortcuts": [ + [ + "winghci\\winghci.exe", + "WinGHCi" + ] + ], + "env_add_path": "lib\\extralibs\\bin", "checkver": { "url": "https://www.haskell.org/platform/windows.html", - "re": "The latest version of the Haskell Platform for Windows is\\s+([\\d.]+)<\\/strong>" + "regex": "([\\d.]+)" }, "autoupdate": { "architecture": { "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": { "url": "https://www.haskell.org/platform/windows.html", - "regex": "(?sm)Start Menu.*64 bit Core:
$sha256.*32 bit Core" - } - }, - "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:
$sha256" + "regex": ">$sha256<" } } } - } + }, + "notes": "For 32bit Haskell, please install 'versions/haskell863'." }