text: # Copyright 2018- The Pixie Authors.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  #
  # SPDX-License-Identifier: Apache-2.0
  
  REPOSITORY_LOCATIONS = dict(
      bazel_gazelle = dict(
          sha256 = "222e49f034ca7a1d1231422cdb67066b885819885c356673cb1f72f748a3c9d4",
          urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.3/bazel-gazelle-v0.22.3.tar.gz"],
      ),
      io_bazel_rules_go = dict(
          # NOTE: Many BPF test programs are written in Go, to avoid accidentally breaking them.
          # Run the following command when upgrading Golang version:
          # scripts/sudo_bazel_run.sh //src/stirling/source_connectors/socket_tracer:http2_trace_bpf_test
          #
          sha256 = "7c10271940c6bce577d51a075ae77728964db285dac0a46614a7934dc34303e6",
          urls = [
              "https://mirror.bazel.build/github.com/bazelbuild/rules_go" +
              "/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz",
              "https://github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz",
          ],
      ),
      io_bazel_rules_k8s = dict(
          sha256 = "cc75cf0d86312e1327d226e980efd3599704e01099b58b3c2fc4efe5e321fcd9",
          strip_prefix = "rules_k8s-0.3.1",
          urls = [
              "https://github.com/bazelbuild/rules_k8s/releases/download/v0.3.1/rules_k8s-v0.3.1.tar.gz",
          ],
      ),
      com_github_apache_arrow = dict(
          sha256 = "487ae884d035d9c8bbc052199268e6259d22cf502ee976e02661ee3f8e9468c0",
          strip_prefix = "arrow-ecbb9de0b4c8739347f7ffa9e7aee7e46926bbab",
          urls = ["https://github.com/pixie-io/arrow/archive/ecbb9de0b4c8739347f7ffa9e7aee7e46926bbab.tar.gz"],
      ),
      com_github_bazelbuild_buildtools = dict(
          sha256 = "a02ba93b96a8151b5d8d3466580f6c1f7e77212c4eb181cba53eb2cae7752a23",
          strip_prefix = "buildtools-3.5.0",
          urls = ["https://github.com/bazelbuild/buildtools/archive/3.5.0.tar.gz"],
      ),
      com_google_benchmark = dict(
          sha256 = "dccbdab796baa1043f04982147e67bb6e118fe610da2c65f88912d73987e700c",
          strip_prefix = "benchmark-1.5.2",
          urls = ["https://github.com/google/benchmark/archive/v1.5.2.tar.gz"],
      ),
      com_github_packetzero_dnsparser = dict(
          sha256 = "bdf6c7f56f33725c1c32e672a4779576fb639dd2df565115778eb6be48296431",
          strip_prefix = "dnsparser-77398ffc200765db1cea9000d9f550ea99a29f7b",
          urls = ["https://github.com/pixie-io/dnsparser/archive/77398ffc200765db1cea9000d9f550ea99a29f7b.tar.gz"],
      ),
      com_github_serge1_elfio = dict(
          sha256 = "386bbeaac176683a68ee1941ab5b12dc381b7d43ff300cccca060047c2c9b291",
          strip_prefix = "ELFIO-9a70dd299199477bf9f8319424922d0fa436c225",
          urls = ["https://github.com/pixie-io/ELFIO/archive/9a70dd299199477bf9f8319424922d0fa436c225.tar.gz"],
      ),
      bazel_skylib = dict(
          sha256 = "e5d90f0ec952883d56747b7604e2a15ee36e288bb556c3d0ed33e818a4d971f2",
          strip_prefix = "bazel-skylib-1.0.2",
          urls = ["https://github.com/bazelbuild/bazel-skylib/archive/1.0.2.tar.gz"],
      ),
      io_bazel_rules_docker = dict(
          sha256 = "95d39fd84ff4474babaf190450ee034d958202043e366b9fc38f438c9e6c3334",
          strip_prefix = "rules_docker-0.16.0",
          urls = ["https://github.com/bazelbuild/rules_docker/archive/v0.16.0.tar.gz"],
      ),
      io_bazel_toolchains = dict(
          sha256 = "e2126599d29f2028e6b267eba273dcc8e7f4a35ff323e9600cf42fb03875b7c6",
          strip_prefix = "bazel-toolchains-2.0.0",
          urls = [
              "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/2.0.0.tar.gz",
              "https://github.com/bazelbuild/bazel-toolchains/archive/2.0.0.tar.gz",
          ],
      ),
      com_google_googletest = dict(
          sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
          strip_prefix = "googletest-release-1.10.0",
          urls = ["https://github.com/google/googletest/archive/release-1.10.0.tar.gz"],
      ),
      com_github_grpc_grpc = dict(
          sha256 = "27dd2fc5c9809ddcde8eb6fa1fa278a3486566dfc28335fca13eb8df8bd3b958",
          strip_prefix = "grpc-1.35.0",
          urls = ["https://github.com/grpc/grpc/archive/v1.35.0.tar.gz"],
      ),
      com_google_boringssl = dict(
          sha256 = "781fa39693ec2984c71213cd633e9f6589eaaed75e3a9ac413237edec96fd3b9",
          strip_prefix = "boringssl-83da28a68f32023fd3b95a8ae94991a07b1f6c62",
          urls = ["https://github.com/google/boringssl/" +
                  "archive/83da28a68f32023fd3b95a8ae94991a07b1f6c6.tar.gz"],
      ),
      com_github_gflags_gflags = dict(
          sha256 = "9e1a38e2dcbb20bb10891b5a171de2e5da70e0a50fff34dd4b0c2c6d75043909",
          strip_prefix = "gflags-524b83d0264cb9f1b2d134c564ef1aa23f207a41",
          urls = ["https://github.com/gflags/gflags/archive/524b83d0264cb9f1b2d134c564ef1aa23f207a41.tar.gz"],
      ),
      com_github_google_glog = dict(
          sha256 = "51992e76446e384643e474b15d11a3937d2eb9e82c3f546360dfa48e96a0684c",
          # Nov 9, 2019.
          strip_prefix = "glog-1863b4228c85dd88885695476e943a1d5758f8ab",
          urls = ["https://github.com/google/glog/archive/1863b4228c85dd88885695476e943a1d5758f8ab.tar.gz"],
      ),
      com_github_rlyeh_sole = dict(
          sha256 = "ff82a1d6071cbc9c709864266210ddedecdb2b1e507ac5e7c4290ca6453e89b3",
          strip_prefix = "sole-1.0.2",
          urls = ["https://github.com/r-lyeh-archived/sole/archive/1.0.2.tar.gz"],
      ),
      com_google_absl = dict(
          sha256 = "ebe2ad1480d27383e4bf4211e2ca2ef312d5e6a09eba869fd2e8a5c5d553ded2",
          strip_prefix = "abseil-cpp-20200923.3",
          urls = ["https://github.com/abseil/abseil-cpp/archive/20200923.3.tar.gz"],
      ),
      com_google_flatbuffers = dict(
          sha256 = "b2bb0311ca40b12ebe36671bdda350b10c7728caf0cfe2d432ea3b6e409016f3",
          strip_prefix = "flatbuffers-1f5eae5d6a135ff6811724f6c57f911d1f46bb15",
          urls = ["https://github.com/google/flatbuffers/archive/1f5eae5d6a135ff6811724f6c57f911d1f46bb15.tar.gz"],
      ),
      com_google_double_conversion = dict(
          sha256 = "2d589cbdcde9c8e611ecfb8cc570715a618d3c2503fa983f87ac88afac68d1bf",
          strip_prefix = "double-conversion-4199ef3d456ed0549e5665cf4186f0ee6210db3b",
          urls = ["https://github.com/google/double-conversion/archive/4199ef3d456ed0549e5665cf4186f0ee6210db3b.tar.gz"],
      ),
      com_google_protobuf = dict(
          sha256 = "bc3dbf1f09dba1b2eb3f2f70352ee97b9049066c9040ce0c9b67fb3294e91e4b",
          strip_prefix = "protobuf-3.15.5",
          urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.15.5.tar.gz"],
      ),
      com_intel_tbb = dict(
          sha256 = "ebc4f6aa47972daed1f7bf71d100ae5bf6931c2e3144cf299c8cc7d041dca2f3",
          strip_prefix = "oneTBB-2020.3",
          urls = ["https://github.com/oneapi-src/oneTBB/archive/v2020.3.tar.gz"],
      ),
      com_github_libarchive_libarchive = dict(
          sha256 = "b60d58d12632ecf1e8fad7316dc82c6b9738a35625746b47ecdcaf4aed176176",
          strip_prefix = "libarchive-3.4.2",
          urls = ["https://github.com/libarchive/libarchive/releases/download/v3.4.2/libarchive-3.4.2.tar.gz"],
      ),
      com_google_farmhash = dict(
          sha256 = "09b5da9eaa7c7f4f073053c1c6c398e320ca917e74e8f366fd84679111e87216",
          strip_prefix = "farmhash-2f0e005b81e296fa6963e395626137cf729b710c",
          urls = ["https://github.com/google/farmhash/archive/2f0e005b81e296fa6963e395626137cf729b710c.tar.gz"],
      ),
      com_github_tencent_rapidjson = dict(
          sha256 = "4a34a0c21794f067afca6c9809971f0bd77a1d1834c4dc53bdd09e4ab4d05ce4",
          strip_prefix = "rapidjson-f56928de85d56add3ca6ae7cf7f119a42ee1585b",
          urls = ["https://github.com/Tencent/rapidjson/archive/f56928de85d56add3ca6ae7cf7f119a42ee1585b.tar.gz"],
      ),
      com_github_ariafallah_csv_parser = dict(
          sha256 = "c722047128c97b7a3f38d0c320888d905692945e4a96b6ebd6d208686764644a",
          strip_prefix = "csv-parser-e3c1207f4de50603a4946dc5daa0633ce31a9257",
          urls = ["https://github.com/AriaFallah/csv-parser/archive/e3c1207f4de50603a4946dc5daa0633ce31a9257.tar.gz"],
      ),
      rules_foreign_cc = dict(
          sha256 = "d54742ffbdc6924f222d2179f0e10e911c5c659c4ae74158e9fe827aad862ac6",
          strip_prefix = "rules_foreign_cc-0.2.0",
          urls = ["https://github.com/bazelbuild/rules_foreign_cc/archive/0.2.0.tar.gz"],
      ),
      com_github_gperftools_gperftools = dict(
          sha256 = "18574813a062eee487bc1b761e8024a346075a7cb93da19607af362dc09565ef",
          strip_prefix = "gperftools-fc00474ddc21fff618fc3f009b46590e241e425e",
          urls = ["https://github.com/gperftools/gperftools/archive/fc00474ddc21fff618fc3f009b46590e241e425e.tar.gz"],
      ),
      com_github_h2o_picohttpparser = dict(
          sha256 = "cb47971984d77dc81ed5684d51d668a7bc7804d3b7814a3072c2187dfa37a013",
          strip_prefix = "picohttpparser-1d2b8a184e7ebe6651c30dcede37ba1d89691351",
          urls = ["https://github.com/h2o/picohttpparser/archive/1d2b8a184e7ebe6651c30dcede37ba1d89691351.tar.gz"],
      ),
      distroless = dict(
          sha256 = "54273175a54eedc558b8188ca810b184b0784815d3af17cc5fd9c296be4c150e",
          strip_prefix = "distroless-18b2d2c5ebfa58fe3e0e4ee3ffe0e2651ec0f7f6",
          urls = ["https://github.com/GoogleContainerTools/distroless/" +
                  "archive/18b2d2c5ebfa58fe3e0e4ee3ffe0e2651ec0f7f6.tar.gz"],
      ),
      com_github_nats_io_natsc = dict(
          sha256 = "c2b5a5e62dfbdcb110f00960c413ab6e8ef09dd71863c15c9f81aa598dcd339d",
          strip_prefix = "nats.c-2.6.0",
          urls = ["https://github.com/nats-io/nats.c/archive/refs/tags/v2.6.0.tar.gz"],
      ),
      com_github_libuv_libuv = dict(
          sha256 = "371e5419708f6aaeb8656671f89400b92a9bba6443369af1bb70bcd6e4b3c764",
          strip_prefix = "libuv-1.42.0",
          urls = ["https://github.com/libuv/libuv/archive/v1.42.0.tar.gz"],
      ),
      com_github_cameron314_concurrentqueue = dict(
          sha256 = "dde227e8fd561b46bdb3c211fa843adc543227b30607acf8eff049006cdffcd1",
          strip_prefix = "concurrentqueue-dea078cf5b6e742cd67a0d725e36f872feca4de4",
          urls = ["https://github.com/cameron314/concurrentqueue/" +
                  "archive/dea078cf5b6e742cd67a0d725e36f872feca4de4.tar.gz"],
      ),
      # June 14, 2019.
      com_github_nghttp2_nghttp2 = dict(
          sha256 = "863e366c530d09d7cebce67c6d7449bdb85bccb5ae0ecff84295a80697a6c989",
          strip_prefix = "nghttp2-ee4431344511886efc66395a38b9bf5dddd7151b",
          urls = ["https://github.com/nghttp2/nghttp2/archive/ee4431344511886efc66395a38b9bf5dddd7151b.tar.gz"],
      ),
      com_github_neargye_magic_enum = dict(
          sha256 = "4fe6627407a656d0d73879c0346b251ccdcfb718c37bef5410ba172c7c7d5f9a",
          strip_prefix = "magic_enum-0.7.0",
          urls = ["https://github.com/Neargye/magic_enum/archive/v0.7.0.tar.gz"],
      ),
      com_github_arun11299_cpp_jwt = dict(
          sha256 = "6dbf93969ec48d97ecb6c157014985846df8c01995a0011c21f4e2c146594922",
          strip_prefix = "cpp-jwt-1.1.1",
          urls = ["https://github.com/arun11299/cpp-jwt/archive/v1.1.1.tar.gz"],
      ),
      # April 21, 2020.
      com_github_cyan4973_xxhash = dict(
          sha256 = "952ebbf5b11fbf59ae5d760a562d1e9112278f244340ad7714e8556cbe54f7f7",
          strip_prefix = "xxHash-0.7.3",
          urls = ["https://github.com/Cyan4973/xxHash/archive/v0.7.3.tar.gz"],
      ),
      com_github_nlohmann_json = dict(
          sha256 = "87b5884741427220d3a33df1363ae0e8b898099fbc59f1c451113f6732891014",
          urls = ["https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip"],
      ),
      # August 18, 2020.
      org_tensorflow = dict(
          sha256 = "f681331f8fc0800883761c7709d13cda11942d4ad5ff9f44ad855e9dc78387e0",
          strip_prefix = "tensorflow-2.4.1",
          urls = ["https://github.com/tensorflow/tensorflow/archive/v2.4.1.tar.gz"],
      ),
      io_bazel_rules_closure = dict(
          sha256 = "5b00383d08dd71f28503736db0500b6fb4dda47489ff5fc6bed42557c07c6ba9",
          strip_prefix = "rules_closure-308b05b2419edb5c8ee0471b67a40403df940149",
          urls = [
              "https://github.com/bazelbuild/rules_closure/archive/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz",
          ],
      ),
      # August 19, 2020.
      com_github_google_sentencepiece = dict(
          sha256 = "1c0bd83e03f71a10fc934b7ce996e327488b838587f03159fd392c77c7701389",
          strip_prefix = "sentencepiece-0.1.95",
          urls = ["https://github.com/google/sentencepiece/archive/v0.1.95.tar.gz"],
      ),
      rules_python = dict(
          urls = ["https://github.com/bazelbuild/rules_python/releases/download/0.2.0/rules_python-0.2.0.tar.gz"],
          sha256 = "778197e26c5fbeb07ac2a2c5ae405b30f6cb7ad1f5510ea6fdac03bded96cc6f",
      ),
      com_github_cmcqueen_aes_min = dict(
          sha256 = "dd82d23976695d857924780c262952cdb12ddbb56e6bdaf5a2270dccc851d279",
          strip_prefix = "aes-min-0.3.1",
          urls = ["https://github.com/cmcqueen/aes-min/releases/download/0.3.1/aes-min-0.3.1.tar.gz"],
      ),
      com_github_derrickburns_tdigest = dict(
          sha256 = "e420c7f9c73fe2af59ab69f302ea8279ec41ae3d241b749277761fdc2e8abfd7",
          strip_prefix = "tdigest-85e0f70092460e60236821db4c25143768d3da12",
          urls = ["https://github.com/pixie-io/tdigest/archive/85e0f70092460e60236821db4c25143768d3da12.tar.gz"],
      ),
      com_github_vinzenz_libpypa = dict(
          sha256 = "d61a6d88b65a470973f0ec595f44b1238e92dfee9f71585d50842f8ef95c7af2",
          strip_prefix = "libpypa-4cd45827d64cfa1e732e0b91182bf72f016a4e7f",
          urls = ["https://github.com/pixie-io/libpypa/archive/4cd45827d64cfa1e732e0b91182bf72f016a4e7f.tar.gz"],
      ),
      com_github_thoughtspot_threadstacks = dict(
          sha256 = "e54d4c3cd5af3cc136cc952c1ef77cd90b41133cd61140d8488e14c6d6f795e9",
          strip_prefix = "threadstacks-94adbe26c4aaf9ca945fd7936670d40ec6f228fb",
          urls = ["https://github.com/pixie-io/threadstacks/archive/94adbe26c4aaf9ca945fd7936670d40ec6f228fb.tar.gz"],
      ),
      com_github_iovisor_bpftrace = dict(
          sha256 = "8bd665c0ab7cc79794d4cd7a1c5553e8bd25b65215bb7b4b7c4f905067cf63ee",
          strip_prefix = "bpftrace-da17ebda1090b5e09dc89d69a3afdb580d486670",
          urls = ["https://github.com/pixie-io/bpftrace/archive/da17ebda1090b5e09dc89d69a3afdb580d486670.tar.gz"],
      ),
      com_github_antlr_antlr4 = dict(
          urls = ["https://github.com/antlr/antlr4/archive/refs/tags/4.9.2.tar.gz"],
          strip_prefix = "antlr4-4.9.2",
          sha256 = "6c86ebe2f3583ac19b199e704bdff9d70379f12347f7f2f1efa38051cd9a18cf",
      ),
      com_github_antlr_grammars_v4 = dict(
          urls = ["https://github.com/antlr/grammars-v4/archive/e53d7a1228505bfc80d8637808ef60e7eea92cc2.tar.gz"],
          strip_prefix = "grammars-v4-e53d7a1228505bfc80d8637808ef60e7eea92cc2",
          sha256 = "9858e4a9944cac85830e6cf8edd9d567227af96d8b75f0b31accc525ec842c30",
      ),
      com_github_pgcodekeeper_pgcodekeeper = dict(
          urls = ["https://github.com/pgcodekeeper/pgcodekeeper/archive/refs/tags/v5.11.3.tar.gz"],
          strip_prefix = "pgcodekeeper-5.11.3",
          sha256 = "b80d88f447566733f887a2c21ad6072751297459e79fa5acfc99e5db3a9418a1",
      ),
      com_github_google_re2 = dict(
          urls = ["https://github.com/google/re2/archive/refs/tags/2021-08-01.tar.gz"],
          strip_prefix = "re2-2021-08-01",
          sha256 = "cd8c950b528f413e02c12970dce62a7b6f37733d7f68807e73a2d9bc9db79bc8",
      ),
      com_github_simdutf_simdutf = dict(
          urls = ["https://github.com/simdutf/simdutf/archive/refs/tags/v1.0.0.tar.gz"],
          strip_prefix = "simdutf-1.0.0",
          sha256 = "a91056e53e566070068203b77a4607fec41920b923712464cf54e12a760cd0a6",
      ),
  )
  
  GIT_REPOSITORY_LOCATIONS = dict(
      com_github_iovisor_bcc = dict(
          remote = "https://github.com/pixie-io/bcc.git",
          commit = "c50098cadc54a602a7e423ae958dca8562ee2cf9",
          shallow_since = "1618606641 -0700",
      ),
  )
  