2020-02-28 23:33:32 +00:00
|
|
|
{-# LANGUAGE QuasiQuotes #-}
|
|
|
|
|
|
|
|
|
2020-03-03 00:59:19 +00:00
|
|
|
module BinaryDownloads where
|
2020-02-28 23:33:32 +00:00
|
|
|
|
|
|
|
import GHCup.Types
|
2020-03-03 00:59:19 +00:00
|
|
|
import GHCup.Utils.Prelude
|
|
|
|
|
|
|
|
import Data.String.QQ
|
2020-02-28 23:33:32 +00:00
|
|
|
import HPath
|
|
|
|
import URI.ByteString.QQ
|
|
|
|
|
2020-03-03 00:59:19 +00:00
|
|
|
import qualified Data.Map as M
|
2020-02-28 23:33:32 +00:00
|
|
|
|
|
|
|
|
2020-03-03 22:34:25 +00:00
|
|
|
-----------------
|
|
|
|
--[ GHC 8.4.4 ]--
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
|
|
|
ghc_844_64_fedora :: DownloadInfo
|
|
|
|
ghc_844_64_fedora = DownloadInfo
|
|
|
|
[uri|https://downloads.haskell.org/~ghc/8.4.4/ghc-8.4.4-x86_64-fedora27-linux.tar.xz|]
|
|
|
|
(Just ([rel|ghc-8.4.4|] :: Path Rel))
|
|
|
|
[s|5f871a3eaf808acb2420fdeef9318698|]
|
|
|
|
|
|
|
|
ghc_844_64_debian9 :: DownloadInfo
|
|
|
|
ghc_844_64_debian9 = DownloadInfo
|
|
|
|
[uri|https://downloads.haskell.org/~ghc/8.4.4/ghc-8.4.4-x86_64-deb9-linux.tar.xz|]
|
|
|
|
(Just ([rel|ghc-8.4.4|] :: Path Rel))
|
|
|
|
[s|5f871a3eaf808acb2420fdeef9318698|]
|
|
|
|
|
|
|
|
ghc_844_64_debian8 :: DownloadInfo
|
|
|
|
ghc_844_64_debian8 = DownloadInfo
|
|
|
|
[uri|https://downloads.haskell.org/~ghc/8.4.4/ghc-8.4.4-x86_64-deb8-linux.tar.xz|]
|
|
|
|
(Just ([rel|ghc-8.4.4|] :: Path Rel))
|
|
|
|
[s|5f871a3eaf808acb2420fdeef9318698|]
|
|
|
|
|
|
|
|
|
|
|
|
-----------------
|
|
|
|
--[ GHC 8.6.5 ]--
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ghc_865_64_fedora :: DownloadInfo
|
|
|
|
ghc_865_64_fedora = DownloadInfo
|
|
|
|
[uri|https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-fedora27-linux.tar.xz|]
|
|
|
|
(Just ([rel|ghc-8.6.5|] :: Path Rel))
|
|
|
|
[s|5f871a3eaf808acb2420fdeef9318698|]
|
|
|
|
|
|
|
|
ghc_865_64_debian9 :: DownloadInfo
|
|
|
|
ghc_865_64_debian9 = DownloadInfo
|
|
|
|
[uri|https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-deb9-linux.tar.xz|]
|
|
|
|
(Just ([rel|ghc-8.6.5|] :: Path Rel))
|
|
|
|
[s|8de779b73c1b2f1b7ab49030015fce3d|]
|
|
|
|
|
|
|
|
ghc_865_64_debian8 :: DownloadInfo
|
|
|
|
ghc_865_64_debian8 = DownloadInfo
|
|
|
|
[uri|https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-deb8-linux.tar.xz|]
|
|
|
|
(Just ([rel|ghc-8.6.5|] :: Path Rel))
|
|
|
|
[s|5f871a3eaf808acb2420fdeef9318698|]
|
|
|
|
|
|
|
|
|
|
|
|
---------------------
|
|
|
|
--[ Cabal-3.0.0.0 ]--
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
|
|
|
|
cabal_3000_64_linux :: DownloadInfo
|
|
|
|
cabal_3000_64_linux = DownloadInfo
|
|
|
|
[uri|https://downloads.haskell.org/~cabal/cabal-install-3.0.0.0/cabal-install-3.0.0.0-x86_64-unknown-linux.tar.xz|]
|
|
|
|
Nothing
|
|
|
|
[s|32352d2259909970e6ff04faf61bbfac|]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-------------
|
|
|
|
--[ GHCup ]--
|
|
|
|
-------------
|
|
|
|
|
|
|
|
|
|
|
|
ghcup_010_64_linux :: DownloadInfo
|
|
|
|
ghcup_010_64_linux = DownloadInfo [uri|file:///home/ospa_ju/tmp/ghcup-exe|]
|
|
|
|
Nothing
|
|
|
|
[s|d8da9e09ca71648f4c1bc6a0a46efc82|]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-----------------------
|
|
|
|
--[ Tarball mapping ]--
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
|
2020-03-03 00:59:19 +00:00
|
|
|
binaryDownloads :: BinaryDownloads
|
|
|
|
binaryDownloads = M.fromList
|
2020-02-28 23:33:32 +00:00
|
|
|
[ ( GHC
|
|
|
|
, M.fromList
|
2020-02-29 23:07:39 +00:00
|
|
|
[ ( [vver|8.6.5|]
|
2020-02-28 23:33:32 +00:00
|
|
|
, VersionInfo [Latest] $ M.fromList
|
|
|
|
[ ( A_64
|
|
|
|
, M.fromList
|
2020-03-03 22:34:25 +00:00
|
|
|
[ (Linux UnknownLinux, M.fromList [(Nothing, ghc_865_64_fedora)])
|
|
|
|
, (Linux Ubuntu , M.fromList [(Nothing, ghc_865_64_debian9)])
|
2020-02-28 23:33:32 +00:00
|
|
|
, ( Linux Debian
|
|
|
|
, M.fromList
|
2020-03-03 22:34:25 +00:00
|
|
|
[ (Nothing , ghc_865_64_debian9)
|
|
|
|
, (Just $ [vers|8|], ghc_865_64_debian8)
|
2020-02-28 23:33:32 +00:00
|
|
|
]
|
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|
|
|
|
]
|
2020-03-03 22:34:25 +00:00
|
|
|
)
|
|
|
|
, ( [vver|8.4.4|]
|
2020-03-03 00:59:19 +00:00
|
|
|
, VersionInfo [] $ M.fromList
|
2020-02-28 23:33:32 +00:00
|
|
|
[ ( A_64
|
|
|
|
, M.fromList
|
2020-03-03 22:34:25 +00:00
|
|
|
[ (Linux UnknownLinux, M.fromList [(Nothing, ghc_844_64_fedora)])
|
|
|
|
, (Linux Ubuntu , M.fromList [(Nothing, ghc_844_64_fedora)])
|
2020-02-28 23:33:32 +00:00
|
|
|
, ( Linux Debian
|
|
|
|
, M.fromList
|
2020-03-03 22:34:25 +00:00
|
|
|
[ (Nothing , ghc_844_64_debian9)
|
|
|
|
, (Just $ [vers|8|], ghc_844_64_debian8)
|
2020-02-28 23:33:32 +00:00
|
|
|
]
|
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|
|
|
|
, ( Cabal
|
|
|
|
, M.fromList
|
2020-02-29 23:07:39 +00:00
|
|
|
[ ( [vver|3.0.0.0|]
|
2020-02-28 23:33:32 +00:00
|
|
|
, VersionInfo [Recommended, Latest] $ M.fromList
|
|
|
|
[ ( A_64
|
|
|
|
, M.fromList
|
|
|
|
[ ( Linux UnknownLinux
|
2020-03-03 22:34:25 +00:00
|
|
|
, M.fromList [(Nothing, cabal_3000_64_linux)]
|
2020-02-28 23:33:32 +00:00
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|
2020-03-03 22:34:25 +00:00
|
|
|
, ( GHCup
|
|
|
|
, M.fromList
|
|
|
|
[ ( [vver|0.1.0|]
|
|
|
|
, VersionInfo [Latest] $ M.fromList
|
|
|
|
[ ( A_64
|
|
|
|
, M.fromList
|
|
|
|
[(Linux UnknownLinux, M.fromList [(Nothing, ghcup_010_64_linux)])]
|
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|
2020-02-28 23:33:32 +00:00
|
|
|
]
|