Skip to content

Commit

Permalink
ghc 8.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab committed Dec 27, 2020
1 parent 05d9a5f commit 8d60fc7
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions Formula/ghc.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
class Ghc < Formula
desc "Glorious Glasgow Haskell Compilation System"
homepage "https://haskell.org/ghc/"
url "https://downloads.haskell.org/~ghc/8.10.1/ghc-8.10.1-src.tar.xz"
sha256 "4e3b07f83a266b3198310f19f71e371ebce97c769b14f0d688f4cbf2a2a1edf5"
url "https://downloads.haskell.org/~ghc/8.10.3/ghc-8.10.3-src.tar.xz"
sha256 "ccdc8319549028a708d7163e2967382677b1a5a379ff94d948195b5cf46eb931"
license "BSD-3-Clause"
revision 2

livecheck do
url :stable
Expand Down Expand Up @@ -34,24 +33,24 @@ class Ghc < Formula
depends_on "sphinx-doc" => :build

resource "gmp" do
url "https://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.xz"
mirror "https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz"
mirror "https://ftpmirror.gnu.org/gmp/gmp-6.1.2.tar.xz"
sha256 "87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912"
url "https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz"
mirror "https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz"
mirror "https://ftpmirror.gnu.org/gmp/gmp-6.2.1.tar.xz"
sha256 "fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2"
end

# https://www.haskell.org/ghc/download_ghc_8_10_1.html#macosx_x86_64
# "This is a distribution for Mac OS X, 10.7 or later."
# A binary of ghc is needed to bootstrap ghc
resource "binary" do
on_macos do
url "https://downloads.haskell.org/~ghc/8.10.1/ghc-8.10.1-x86_64-apple-darwin.tar.xz"
sha256 "65b1ca361093de4804a7e40b3e68178e1ef720f84f743641ec8d95e56a45b3a8"
url "https://downloads.haskell.org/~ghc/8.10.3/ghc-8.10.3-x86_64-apple-darwin.tar.xz"
sha256 "2635f35d76e44e69afdfd37cae89d211975cc20f71f784363b72003e59f22015"
end

on_linux do
url "https://downloads.haskell.org/~ghc/8.10.1/ghc-8.10.1-x86_64-deb9-linux.tar.xz"
sha256 "d1cf7886f27af070f3b7dbe1975a78b43ef2d32b86362cbe953e79464fe70761"
url "https://downloads.haskell.org/~ghc/8.10.3/ghc-8.10.3-x86_64-deb9-linux.tar.xz"
sha256 "95e4aadea30701fe5ab84d15f757926d843ded7115e11c4cd827809ca830718d"
end
end

Expand Down

0 comments on commit 8d60fc7

Please sign in to comment.