github.com/please-build/puku@v1.7.3-0.20240516143641-f7d7f4941f57/third_party/binary/BUILD (about)

     1  GO_CI_LINT_VERSION = "1.53.2"
     2  
     3  remote_file(
     4      name = "golangci-lint",
     5      binary = True,
     6      exported_files = ["golangci-lint-%s-${OS}-${ARCH}/golangci-lint" % GO_CI_LINT_VERSION],
     7      extract = True,
     8      hashes = [
     9          "a4e83f5bfe52f42134c9783aa68ba31104c36e2ad4c221a3c77510dda66ae81c",  # darwin-amd64
    10          "63f6c3dab479dac20f39d4a91c4a2c019c054968e2d044f03ee47a3e41253623",  # darwin-arm64
    11          "2298f73b9bc03b88b91fee06c5d519fc7f9d7f328e2c388615bbd7e85a9d6cae",  # linux-amd64
    12      ],
    13      url = "https://github.com/golangci/golangci-lint/releases/download/v%s/golangci-lint-%s-%s-%s.tar.gz" % (
    14          GO_CI_LINT_VERSION,
    15          GO_CI_LINT_VERSION,
    16          CONFIG.OS,
    17          CONFIG.ARCH,
    18      ),
    19  )
    20  
    21  remote_file(
    22      name = "plz",
    23      binary = True,
    24      test_only = True,
    25      url = f"https://github.com/thought-machine/please/releases/download/v17.3.1/please_17.3.1_{CONFIG.OS}_{CONFIG.ARCH}",
    26      visibility = ["PUBLIC"],
    27  )