Skip to content

Commit

Permalink
cabal-install 3.14.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Jan 5, 2025
1 parent b642dae commit 8eb84ca
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions Formula/c/cabal-install.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
class CabalInstall < Formula
desc "Command-line interface for Cabal and Hackage"
homepage "https://www.haskell.org/cabal/"
url "https://hackage.haskell.org/package/cabal-install-3.12.1.0/cabal-install-3.12.1.0.tar.gz"
sha256 "6848acfd9c726fdcce544a8b669748d0fd9f2da26d28e841069dc4840276b1b2"
license "BSD-3-Clause"
head "https://github.com/haskell/cabal.git", branch: "3.12"
head "https://github.com/haskell/cabal.git", branch: "3.14"

# TODO: Replace with 3.14.1.1 release, https://github.com/haskell/cabal/pull/10709
stable do
url "https://hackage.haskell.org/package/cabal-install-3.14.1.0/cabal-install-3.14.1.0.tar.gz"
sha256 "4bbad94127164810f341cd60145942fe3fbae36149d954846981b0b8b9588da1"

patch do
url "https://github.com/haskell/cabal/commit/14efb596427656c500c96562c6e47dc0b5361a40.patch?full_index=1"
sha256 "869981c80f5fcc3c0b6b5e62447affb632c81e9cc093cbe6d6ccd5cd3faa6291"
end
end

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "6d973fbc7b286f613320ff1a359023078ab06aa8e87209c8f785e601d452fbca"
Expand All @@ -23,22 +32,22 @@ class CabalInstall < Formula
resource "bootstrap" do
on_macos do
on_arm do
url "https://downloads.haskell.org/~cabal/cabal-install-3.10.3.0/cabal-install-3.10.3.0-aarch64-darwin.tar.xz"
sha256 "f4f606b1488a4b24c238f7e09619959eed89c550ed8f8478b350643f652dc08c"
url "https://downloads.haskell.org/~cabal/cabal-install-3.12.1.0/cabal-install-3.12.1.0-aarch64-darwin.tar.xz"
sha256 "9c165ca9a2e593b12dbb0eca92c0b04f8d1c259871742d7e9afc352364fe7a3f"
end
on_intel do
url "https://downloads.haskell.org/~cabal/cabal-install-3.10.3.0/cabal-install-3.10.3.0-x86_64-darwin.tar.xz"
sha256 "3aed78619b2164dd61eb61afb024073ae2c50f6655fa60fcc1080980693e3220"
url "https://downloads.haskell.org/~cabal/cabal-install-3.12.1.0/cabal-install-3.12.1.0-x86_64-darwin.tar.xz"
sha256 "e89392429f59bbcfaf07e1164e55bc63bba8e5c788afe43c94e00b515c1578af"
end
end
on_linux do
on_arm do
url "https://downloads.haskell.org/~cabal/cabal-install-3.10.3.0/cabal-install-3.10.3.0-aarch64-linux-deb10.tar.xz"
sha256 "92d341620c60294535f03098bff796ef6de2701de0c4fcba249cde18a2923013"
url "https://downloads.haskell.org/~cabal/cabal-install-3.12.1.0/cabal-install-3.12.1.0-aarch64-linux-deb10.tar.xz"
sha256 "c01f2e0b3ba1fe4104cf2933ee18558a9b81d85831a145e8aba33fa172c7c618"
end
on_intel do
url "https://downloads.haskell.org/~cabal/cabal-install-3.10.3.0/cabal-install-3.10.3.0-x86_64-linux-ubuntu20_04.tar.xz"
sha256 "b7ccb975bacf8b6a7d6b5dde8a7712787473a149c3dc0ebb2de7fbd00f964844"
url "https://downloads.haskell.org/~cabal/cabal-install-3.12.1.0/cabal-install-3.12.1.0-x86_64-linux-ubuntu20_04.tar.xz"
sha256 "3724f2aa22f330c5e6605978f3dd9adee4e052866321a8dd222944cd178c3c24"
end
end
end
Expand Down

0 comments on commit 8eb84ca

Please sign in to comment.