From cf6443d83f2f38391e4a11c50083b759113acc29 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 9 Aug 2020 15:49:08 +0200 Subject: [PATCH] Add GHC-8.10.2 --- ghcup-0.0.2.json | 159 ++++++++++++++++++++++++++++++- lib/GHCup/Data/GHCupDownloads.hs | 134 +++++++++++++++++++++++++- 2 files changed, 291 insertions(+), 2 deletions(-) diff --git a/ghcup-0.0.2.json b/ghcup-0.0.2.json index bcf9961..a2843dd 100644 --- a/ghcup-0.0.2.json +++ b/ghcup-0.0.2.json @@ -793,7 +793,6 @@ }, "viChangeLog": "https://downloads.haskell.org/~ghc/8.10.1/docs/html/users_guide/8.10.1-notes.html", "viTags": [ - "Latest", "base-4.14.0.0" ] }, @@ -2168,6 +2167,164 @@ "viTags": [ "base-4.13.0.0" ] + }, + "8.10.2": { + "viArch": { + "A_64": { + "Linux_Alpine": { + "unknown_versioning": { + "dlHash": "14d09a508f2a3a11875c140be8e6c5f6982ac5cd448f089ca10b7adc955fec76", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-alpine3.10-linux-integer-simple.tar.xz" + } + }, + "FreeBSD": { + "unknown_versioning": { + "dlHash": "9e5957f3497f4b58ecd3699568d9caaa11a47a6d7e902032c261e450fa0f6686", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-unknown-freebsd.tar.xz" + } + }, + "Linux_Debian": { + "unknown_versioning": { + "dlHash": "4dbe3b479e76767bfeb4cbb7a4db8b761c4720266193483ca370b2ace3f10f7c", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-deb9-linux.tar.xz" + }, + "9": { + "dlHash": "4dbe3b479e76767bfeb4cbb7a4db8b761c4720266193483ca370b2ace3f10f7c", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-deb9-linux.tar.xz" + }, + "10": { + "dlHash": "94513d82c38c848f489113a75fa5ef4e5a8e3ecfaa74ca90e2620d2193ff1632", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-deb10-linux.tar.xz" + } + }, + "Linux_Ubuntu": { + "unknown_versioning": { + "dlHash": "8c675da83e9b3c2f64ebb407b5f9ebb2c1f21aa5d701020614fdce644a542e3b", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-fedora27-linux.tar.xz" + }, + "16.04": { + "dlHash": "4dbe3b479e76767bfeb4cbb7a4db8b761c4720266193483ca370b2ace3f10f7c", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-deb9-linux.tar.xz" + }, + "18.04": { + "dlHash": "4dbe3b479e76767bfeb4cbb7a4db8b761c4720266193483ca370b2ace3f10f7c", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-deb9-linux.tar.xz" + } + }, + "Darwin": { + "unknown_versioning": { + "dlHash": "edb772b00c0d7f18bb56ad27765162ee09c508104d40f82128c9114a02f6cfc2", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-apple-darwin.tar.xz" + } + }, + "Linux_RedHat": { + "unknown_versioning": { + "dlHash": "fd2dccd6f496915a5f962dab24e7eeb8bee49bcc38e74b17eac76159083538fa", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-centos7-linux.tar.xz" + } + }, + "Linux_UnknownLinux": { + "unknown_versioning": { + "dlHash": "8c675da83e9b3c2f64ebb407b5f9ebb2c1f21aa5d701020614fdce644a542e3b", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-fedora27-linux.tar.xz" + } + }, + "Linux_Mint": { + "unknown_versioning": { + "dlHash": "94513d82c38c848f489113a75fa5ef4e5a8e3ecfaa74ca90e2620d2193ff1632", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-deb10-linux.tar.xz" + } + }, + "Linux_Fedora": { + "unknown_versioning": { + "dlHash": "8c675da83e9b3c2f64ebb407b5f9ebb2c1f21aa5d701020614fdce644a542e3b", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-fedora27-linux.tar.xz" + }, + "27": { + "dlHash": "8c675da83e9b3c2f64ebb407b5f9ebb2c1f21aa5d701020614fdce644a542e3b", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-fedora27-linux.tar.xz" + } + }, + "Linux_CentOS": { + "7": { + "dlHash": "fd2dccd6f496915a5f962dab24e7eeb8bee49bcc38e74b17eac76159083538fa", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-centos7-linux.tar.xz" + }, + "unknown_versioning": { + "dlHash": "fd2dccd6f496915a5f962dab24e7eeb8bee49bcc38e74b17eac76159083538fa", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-centos7-linux.tar.xz" + } + }, + "Linux_AmazonLinux": { + "unknown_versioning": { + "dlHash": "fd2dccd6f496915a5f962dab24e7eeb8bee49bcc38e74b17eac76159083538fa", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-centos7-linux.tar.xz" + } + } + }, + "A_32": { + "Linux_Debian": { + "unknown_versioning": { + "dlHash": "9dae2a86ad43d08f72c783542c944d1556b075aa20a8063efae5034ea88e7c2f", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-i386-deb9-linux.tar.xz" + }, + "9": { + "dlHash": "9dae2a86ad43d08f72c783542c944d1556b075aa20a8063efae5034ea88e7c2f", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-i386-deb9-linux.tar.xz" + } + }, + "Linux_Ubuntu": { + "unknown_versioning": { + "dlHash": "9dae2a86ad43d08f72c783542c944d1556b075aa20a8063efae5034ea88e7c2f", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-i386-deb9-linux.tar.xz" + } + }, + "Linux_UnknownLinux": { + "unknown_versioning": { + "dlHash": "9dae2a86ad43d08f72c783542c944d1556b075aa20a8063efae5034ea88e7c2f", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-i386-deb9-linux.tar.xz" + } + }, + "Linux_Mint": { + "unknown_versioning": { + "dlHash": "9dae2a86ad43d08f72c783542c944d1556b075aa20a8063efae5034ea88e7c2f", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-i386-deb9-linux.tar.xz" + } + } + } + }, + "viSourceDL": { + "dlHash": "9c573a4621a78723950617c223559bdc325ea6a3409264aedf68f05510b0880b", + "dlSubdir": "ghc-8.10.2", + "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-src.tar.xz" + }, + "viChangeLog": "https://downloads.haskell.org/~ghc/8.10.2/docs/html/users_guide/8.10.2-notes.html", + "viTags": [ + "Latest", + "base-4.14.1.0" + ] } }, "Cabal": { diff --git a/lib/GHCup/Data/GHCupDownloads.hs b/lib/GHCup/Data/GHCupDownloads.hs index 3f38e8e..2020638 100644 --- a/lib/GHCup/Data/GHCupDownloads.hs +++ b/lib/GHCup/Data/GHCupDownloads.hs @@ -884,6 +884,68 @@ ghc_8101_64_freebsd = DownloadInfo + ----------------- + --[ GHC 8.10.2 ]-- + ----------------- + + + +ghc_8102_32_deb9 :: DownloadInfo +ghc_8102_32_deb9 = DownloadInfo + [uri|https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-i386-deb9-linux.tar.xz|] + (Just [rel|ghc-8.10.2|]) + "9dae2a86ad43d08f72c783542c944d1556b075aa20a8063efae5034ea88e7c2f" + + +ghc_8102_64_deb9 :: DownloadInfo +ghc_8102_64_deb9 = DownloadInfo + [uri|https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-deb9-linux.tar.xz|] + (Just [rel|ghc-8.10.2|]) + "4dbe3b479e76767bfeb4cbb7a4db8b761c4720266193483ca370b2ace3f10f7c" + + +ghc_8102_64_deb10 :: DownloadInfo +ghc_8102_64_deb10 = DownloadInfo + [uri|https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-deb10-linux.tar.xz|] + (Just [rel|ghc-8.10.2|]) + "94513d82c38c848f489113a75fa5ef4e5a8e3ecfaa74ca90e2620d2193ff1632" + + +ghc_8102_64_fedora :: DownloadInfo +ghc_8102_64_fedora = DownloadInfo + [uri|https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-fedora27-linux.tar.xz|] + (Just [rel|ghc-8.10.2|]) + "8c675da83e9b3c2f64ebb407b5f9ebb2c1f21aa5d701020614fdce644a542e3b" + + +ghc_8102_64_centos :: DownloadInfo +ghc_8102_64_centos = DownloadInfo + [uri|https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-centos7-linux.tar.xz|] + (Just [rel|ghc-8.10.2|]) + "fd2dccd6f496915a5f962dab24e7eeb8bee49bcc38e74b17eac76159083538fa" + + +ghc_8102_64_darwin :: DownloadInfo +ghc_8102_64_darwin = DownloadInfo + [uri|https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-apple-darwin.tar.xz|] + (Just [rel|ghc-8.10.2|]) + "edb772b00c0d7f18bb56ad27765162ee09c508104d40f82128c9114a02f6cfc2" + + +ghc_8102_64_alpine :: DownloadInfo +ghc_8102_64_alpine = DownloadInfo + [uri|https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-alpine3.10-linux-integer-simple.tar.xz|] + (Just [rel|ghc-8.10.2|]) + "14d09a508f2a3a11875c140be8e6c5f6982ac5cd448f089ca10b7adc955fec76" + +ghc_8102_64_freebsd :: DownloadInfo +ghc_8102_64_freebsd = DownloadInfo + [uri|https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-unknown-freebsd.tar.xz|] + (Just [rel|ghc-8.10.2|]) + "9e5957f3497f4b58ecd3699568d9caaa11a47a6d7e902032c261e450fa0f6686" + + + --------------------- --[ Cabal-2.4.1.0 ]-- --------------------- @@ -1845,7 +1907,7 @@ ghcupDownloads = M.fromList ) , ( [vver|8.10.1|] , VersionInfo - [Latest, Base [pver|4.14.0.0|]] + [Base [pver|4.14.0.0|]] (Just [uri|https://downloads.haskell.org/~ghc/8.10.1/docs/html/users_guide/8.10.1-notes.html|] ) @@ -1914,6 +1976,76 @@ ghcupDownloads = M.fromList ) ] ) + , ( [vver|8.10.2|] + , VersionInfo + [Latest, Base [pver|4.14.1.0|]] + (Just + [uri|https://downloads.haskell.org/~ghc/8.10.2/docs/html/users_guide/8.10.2-notes.html|] + ) + (Just $ DownloadInfo + [uri|https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-src.tar.xz|] + (Just [rel|ghc-8.10.2|]) + "9c573a4621a78723950617c223559bdc325ea6a3409264aedf68f05510b0880b" + ) + $ M.fromList + [ ( A_64 + , M.fromList + [ ( Linux UnknownLinux + , M.fromList [(Nothing, ghc_8102_64_fedora)] + ) + , ( Linux Fedora + , M.fromList + [ (Nothing , ghc_8102_64_fedora) + , (Just [vers|27|], ghc_8102_64_fedora) + ] + ) + , ( Linux CentOS + , M.fromList + [ (Nothing , ghc_8102_64_centos) + , (Just [vers|7|], ghc_8102_64_centos) + ] + ) + , (Linux RedHat, M.fromList [(Nothing, ghc_8102_64_centos)]) + , ( Linux AmazonLinux + , M.fromList [(Nothing, ghc_8102_64_centos)] + ) + , ( Linux Ubuntu + , M.fromList + [ (Nothing , ghc_8102_64_fedora) + , (Just [vers|16.04|], ghc_8102_64_deb9) + , (Just [vers|18.04|], ghc_8102_64_deb9) + ] + ) + , (Linux Mint, M.fromList [(Nothing, ghc_8102_64_deb10)]) + , ( Linux Debian + , M.fromList + [ (Nothing , ghc_8102_64_deb9) + , (Just [vers|9|] , ghc_8102_64_deb9) + , (Just [vers|10|], ghc_8102_64_deb10) + ] + ) + , (Darwin , M.fromList [(Nothing, ghc_8102_64_darwin)]) + , (Linux Alpine, M.fromList [(Nothing, ghc_8102_64_alpine)]) + , (FreeBSD , M.fromList [(Nothing, ghc_8102_64_freebsd)]) + ] + ) + , ( A_32 + , M.fromList + [ ( Linux UnknownLinux + , M.fromList [(Nothing, ghc_8102_32_deb9)] + ) + , (Linux Ubuntu, M.fromList [(Nothing, ghc_8102_32_deb9)]) + , (Linux Mint , M.fromList [(Nothing, ghc_8102_32_deb9)]) + , ( Linux Debian + , M.fromList + [ (Nothing , ghc_8102_32_deb9) + , (Just [vers|9|], ghc_8102_32_deb9) + ] + ) + ] + ) + ] + ) ] ) , ( Cabal