old_contents: load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
  
  ENVOY_COMMIT = "9eeba8fd427d9bd0ef947ec14a3157083cc7bf0e"  # September 17th, 2020
  ENVOY_SHA = "4537bde6652ea00db9b45c126c0519619909bc0d79c6ede02d68a8782f8c1c67"
  
  HDR_HISTOGRAM_C_VERSION = "0.11.1"  # September 17th, 2020
  HDR_HISTOGRAM_C_SHA = "8550071d4ae5c8229448f9b68469d6d42c620cd25111b49c696d00185e5f8329"
  
  def nighthawk_dependencies():
      http_archive(
          name = "envoy",
          sha256 = ENVOY_SHA,
          strip_prefix = "envoy-%s" % ENVOY_COMMIT,
          url = "https://github.com/envoyproxy/envoy/archive/%s.tar.gz" % ENVOY_COMMIT,
      )
      http_archive(
          name = "dep_hdrhistogram_c",
          build_file_content = """
  cc_library(
      name = "hdrhistogram_c",
      srcs = [
          "src/hdr_encoding.c",
          "src/hdr_histogram.c",
          "src/hdr_histogram_log.c",
          "src/hdr_interval_recorder.c",
          "src/hdr_thread.c",
          "src/hdr_time.c",
          "src/hdr_writer_reader_phaser.c",
      ],
      hdrs = [
          "src/hdr_atomic.h",
          "src/hdr_encoding.h",
          "src/hdr_endian.h",
          "src/hdr_histogram.h",
          "src/hdr_histogram_log.h",
          "src/hdr_interval_recorder.h",
          "src/hdr_tests.h",
          "src/hdr_thread.h",
          "src/hdr_time.h",
          "src/hdr_writer_reader_phaser.h",
      ],
      copts = [
          "-std=gnu99",
          "-Wno-implicit-function-declaration",
          "-Wno-error",
      ],
      deps = ["//external:zlib"],
      visibility = ["//visibility:public"],
  )
    """,
          sha256 = HDR_HISTOGRAM_C_SHA,
          strip_prefix = "HdrHistogram_c-%s" % HDR_HISTOGRAM_C_VERSION,
          url = "https://github.com/HdrHistogram/HdrHistogram_c/archive/%s.tar.gz" % HDR_HISTOGRAM_C_VERSION,
      )
  
new_contents: load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
  
  ENVOY_COMMIT = "5a87f1e59b42ad546698d389f6ccac9406534e17"  # September 25th, 2020
  ENVOY_SHA = "739c62249bae60f633f91dee846825f1d5ddcc469d45ef370e57f1a010c13258"
  
  HDR_HISTOGRAM_C_VERSION = "0.11.1"  # September 17th, 2020
  HDR_HISTOGRAM_C_SHA = "8550071d4ae5c8229448f9b68469d6d42c620cd25111b49c696d00185e5f8329"
  
  def nighthawk_dependencies():
      http_archive(
          name = "envoy",
          sha256 = ENVOY_SHA,
          strip_prefix = "envoy-%s" % ENVOY_COMMIT,
          url = "https://github.com/envoyproxy/envoy/archive/%s.tar.gz" % ENVOY_COMMIT,
      )
      http_archive(
          name = "dep_hdrhistogram_c",
          build_file_content = """
  cc_library(
      name = "hdrhistogram_c",
      srcs = [
          "src/hdr_encoding.c",
          "src/hdr_histogram.c",
          "src/hdr_histogram_log.c",
          "src/hdr_interval_recorder.c",
          "src/hdr_thread.c",
          "src/hdr_time.c",
          "src/hdr_writer_reader_phaser.c",
      ],
      hdrs = [
          "src/hdr_atomic.h",
          "src/hdr_encoding.h",
          "src/hdr_endian.h",
          "src/hdr_histogram.h",
          "src/hdr_histogram_log.h",
          "src/hdr_interval_recorder.h",
          "src/hdr_tests.h",
          "src/hdr_thread.h",
          "src/hdr_time.h",
          "src/hdr_writer_reader_phaser.h",
      ],
      copts = [
          "-std=gnu99",
          "-Wno-implicit-function-declaration",
          "-Wno-error",
      ],
      deps = ["//external:zlib"],
      visibility = ["//visibility:public"],
  )
    """,
          sha256 = HDR_HISTOGRAM_C_SHA,
          strip_prefix = "HdrHistogram_c-%s" % HDR_HISTOGRAM_C_VERSION,
          url = "https://github.com/HdrHistogram/HdrHistogram_c/archive/%s.tar.gz" % HDR_HISTOGRAM_C_VERSION,
      )
  
subject: Update Envoy to 5a87f1e59b42ad546698d389f6ccac9406534e17 (#554)