Skip to content

Commit b2ddcbb

Browse files
authored
Merge pull request #206270 from cho-m/bump-pinboard-notes-backup-1.0.6
pinboard-notes-backup 1.0.6
2 parents ef26b90 + d921bbc commit b2ddcbb

File tree

1 file changed

+16
-23
lines changed

1 file changed

+16
-23
lines changed

Formula/p/pinboard-notes-backup.rb

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,34 @@
11
class PinboardNotesBackup < Formula
22
desc "Efficiently back up the notes you've saved to Pinboard"
33
homepage "https://github.com/bdesham/pinboard-notes-backup"
4+
url "https://github.com/bdesham/pinboard-notes-backup/archive/refs/tags/v1.0.6.tar.gz"
5+
sha256 "7c296c1d42ed3c059d72e303f5a35d0d575d7bb2bb0a28a5fae1f36bf151ac77"
46
license "GPL-3.0-or-later"
57
head "https://github.com/bdesham/pinboard-notes-backup.git", branch: "main"
68

7-
stable do
8-
url "https://github.com/bdesham/pinboard-notes-backup/archive/refs/tags/v1.0.5.7.tar.gz"
9-
sha256 "12940372b976bbc9491e20810992396426f3ee482416a42e6379bdad9999a07c"
10-
11-
# Backport some higher upper bounds for dependencies
12-
patch do
13-
url "https://github.com/bdesham/pinboard-notes-backup/commit/8be2ac9107b312657f0ae68633164ac2ea85ee9e.patch?full_index=1"
14-
sha256 "c9f9fb43b3166035cf2c8cc11a5172f6a12444fd96d93827d6fff7cb4dca51b8"
15-
end
16-
end
17-
189
bottle do
19-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "ddbd59d56db5d3ef01d4a6dc4d14ee4f9b033960cc895b1b94707a6a11f92eab"
20-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "63e685a5471c77c535f67b05195429f4d71c3e9f655b0d3faf591025c7a1f36f"
21-
sha256 cellar: :any_skip_relocation, arm64_ventura: "d375d8d2a1c76e2ac6dc0f93656182cad288b58c3c3457922955df7ff3fbb87b"
22-
sha256 cellar: :any_skip_relocation, arm64_monterey: "b570d147f98d42f9fc47429fdd14bba0f59f7038d9922429b3ef911fd5b38f7b"
23-
sha256 cellar: :any_skip_relocation, sonoma: "1bb2a015045e1d6d0870f523473379af184034a878754a55b27452896db4893e"
24-
sha256 cellar: :any_skip_relocation, ventura: "e793489b6fd7c1658683dd16ebc56d2e266be7cdffcfb997f49ba76ac4012dad"
25-
sha256 cellar: :any_skip_relocation, monterey: "20dcaeaadae53a452675a64a3f435537d54d813108da2e3d216e79fb7be42908"
26-
sha256 cellar: :any_skip_relocation, x86_64_linux: "19365a6c0ca7c4d6a56c8bbfd591346ab77c23b89c7e4a2aec77ddc9eba57fe7"
10+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "54901aecd1ce3df91e8332f9e7c711156422dfdb2b0d91c08facf995f5fd4b24"
11+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "6db312954370b05b042448cf967fbff5c966fb2c4e6d68ad17883d2890ac29f0"
12+
sha256 cellar: :any_skip_relocation, arm64_ventura: "ca53a06af4eb68273975f8c20d784a12eca64c9df6d4b96377bfff77ac273cb5"
13+
sha256 cellar: :any_skip_relocation, sonoma: "2ed4c5804e37c9be4f243675456e023183d737b94a8c310a24b71bb382431037"
14+
sha256 cellar: :any_skip_relocation, ventura: "203ff0729e4baad033699c6c24cc1f2ec46612aa372ffbb56ac1bb18c6ce62e2"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "25b7c77c34baa4f08c806812392c94182ef7b9360a4bf0498dfee76796eb61b5"
2716
end
2817

2918
depends_on "cabal-install" => :build
30-
depends_on "ghc@9.10" => :build
19+
depends_on "ghc" => :build
3120

3221
uses_from_macos "zlib"
3322

3423
def install
24+
# Workaround to build with GHC 9.12
25+
args = [
26+
"--allow-newer=http-api-data:base", # https://github.com/fizruk/http-api-data/pull/146
27+
"--allow-newer=req:template-haskell", # https://github.com/mrkkrp/req/pull/182
28+
]
29+
3530
system "cabal", "v2-update"
36-
# Upper bound `tls` to work around "peer does not support Extended Main Secret" HandshakeFailure
37-
# Ref: https://github.com/bdesham/pinboard-notes-backup/issues/1
38-
system "cabal", "v2-install", "--constraint=tls<2", *std_cabal_v2_args
31+
system "cabal", "v2-install", *args, *std_cabal_v2_args
3932
man1.install "man/pnbackup.1"
4033
end
4134

0 commit comments

Comments
 (0)