Skip to content

Commit a656abc

Browse files
committed
Use release artifact URL for zlib
1 parent c33f9fa commit a656abc

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

examples/non_module_deps.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ cc_library(
3232
}),
3333
)
3434
""",
35-
sha256 = "b5b06d60ce49c8ba700e0ba517fa07de80b5d4628a037f4be8ad16955be7a7c0",
36-
strip_prefix = "zlib-1.3",
37-
urls = ["https://github.com/madler/zlib/archive/v1.3.tar.gz"],
35+
sha256 = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23",
36+
strip_prefix = "zlib-1.3.1",
37+
urls = ["https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz"],
3838
)
3939

4040
# Demonstrates a vendored Stackage package to bump a version bound.

haskell/repositories.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ def rules_haskell_dependencies():
153153
http_archive,
154154
name = "zlib",
155155
build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
156-
sha256 = "b5b06d60ce49c8ba700e0ba517fa07de80b5d4628a037f4be8ad16955be7a7c0",
157-
strip_prefix = "zlib-1.3",
158-
urls = ["https://github.com/madler/zlib/archive/v1.3.1.tar.gz"],
156+
sha256 = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23",
157+
strip_prefix = "zlib-1.3.1",
158+
urls = ["https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz"],
159159
)
160160
maybe(
161161
http_archive,

rules_haskell_tests/non_module_deps.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ cc_library(
100100
linkstatic = is_darwin,
101101
)
102102
""",
103-
sha256 = "b5b06d60ce49c8ba700e0ba517fa07de80b5d4628a037f4be8ad16955be7a7c0",
104-
strip_prefix = "zlib-1.3",
105-
urls = ["https://github.com/madler/zlib/archive/v1.3.tar.gz"],
103+
sha256 = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23",
104+
strip_prefix = "zlib-1.3.1",
105+
urls = ["https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz"],
106106
)
107107

108108
def _non_module_deps_impl(_ctx):

rules_haskell_tests/tests/repl-targets/hs_lib_repl_test/WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ cc_library(
9898
linkstatic = is_darwin,
9999
)
100100
""",
101-
sha256 = "b5b06d60ce49c8ba700e0ba517fa07de80b5d4628a037f4be8ad16955be7a7c0",
102-
strip_prefix = "zlib-1.3",
103-
urls = ["https://github.com/madler/zlib/archive/v1.3.tar.gz"],
101+
sha256 = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23",
102+
strip_prefix = "zlib-1.3.1",
103+
urls = ["https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz"],
104104
)
105105

106106
load("@rules_haskell//haskell:cabal.bzl", "stack_snapshot")

start

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ EOF
291291
http_archive(
292292
name = "zlib.dev",
293293
build_file = "//:${ZLIB_BUILD_FILE}",
294-
sha256 = "b5b06d60ce49c8ba700e0ba517fa07de80b5d4628a037f4be8ad16955be7a7c0",
295-
strip_prefix = "zlib-1.3",
296-
urls = ["https://github.com/madler/zlib/archive/v1.3.tar.gz"],
294+
sha256 = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23",
295+
strip_prefix = "zlib-1.3.1",
296+
urls = ["https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz"],
297297
)
298298
EOF
299299
;;

0 commit comments

Comments
 (0)