File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
2
2
load ("@bazel_tools//tools/build_defs/repo:utils.bzl" , "maybe" )
3
- load ("@bazel_tools//tools/build_defs/repo:git.bzl" , "new_git_repository" )
4
3
5
4
_swift_prebuilt_version = "swift-5.6-RELEASE.42271.54"
6
5
_swift_sha_map = {
@@ -27,6 +26,14 @@ def codeql_workspace(repository_name = "codeql"):
27
26
sha256 = sha256 ,
28
27
)
29
28
29
+ http_archive (
30
+ name = "fishhook" ,
31
+ url = "https://github.com/facebook/fishhook/archive/aadc161ac3b80db07a9908851839a17ba63a9eb1.zip" ,
32
+ build_file = "@%s//swift/tools/fishhook:BUILD.fishhook.bazel" % repository_name ,
33
+ strip_prefix = "fishhook-aadc161ac3b80db07a9908851839a17ba63a9eb1" ,
34
+ sha256 = "9f2cdee6dcc2039d4c47d25ab5141fe0678ce6ed27ef482cab17fe9fa38a30ce" ,
35
+ )
36
+
30
37
maybe (
31
38
repo_rule = http_archive ,
32
39
name = "rules_pkg" ,
@@ -56,11 +63,3 @@ def codeql_workspace(repository_name = "codeql"):
56
63
"https://github.com/bazelbuild/rules_python/archive/refs/tags/0.8.1.tar.gz" ,
57
64
],
58
65
)
59
-
60
- new_git_repository (
61
- name = "fishhook" ,
62
- commit = "aadc161ac3b80db07a9908851839a17ba63a9eb1" ,
63
- shallow_since = "1634071885 -0400" ,
64
- build_file = "@%s//swift/tools/fishhook:BUILD.fishhook.bazel" % repository_name ,
65
- remote = "https://github.com/facebook/fishhook" ,
66
- )
You can’t perform that action at this time.
0 commit comments