github.phpd.cn/thought-machine/please@v12.2.0+incompatible/third_party/go/BUILD (about)

     1  package(default_visibility = ['PUBLIC'])
     2  
     3  # This is needed to break a circular dependency.
     4  package(jarcat_tool = '//tools/jarcat:jarcat_unzip')
     5  
     6  go_get(
     7      name = 'logging',
     8      get = 'gopkg.in/op/go-logging.v1',
     9      revision = 'b2cb9fa56473e98db8caba80237377e83fe44db5',
    10  )
    11  
    12  go_get(
    13      name = 'terminal',
    14      get = 'golang.org/x/crypto/ssh/terminal',
    15      revision = '7b85b097bf7527677d54d3220065e966a0e3b613',
    16  )
    17  
    18  go_get(
    19      name = 'warnings',
    20      get = 'gopkg.in/warnings.v0',
    21      revision = 'v0.1.2',
    22  )
    23  
    24  go_get(
    25      name = 'gcfg',
    26      get = 'gopkg.in/gcfg.v1',
    27      install = [
    28          '',
    29          'scanner',
    30          'token',
    31          'types',
    32      ],
    33      patch = 'gcfg_dynamic_fields.patch',
    34      revision = '27e4946190b4a327b539185f2b5b1f7c84730728',
    35      deps = [
    36          ':warnings',
    37      ],
    38  )
    39  
    40  go_get(
    41      name = 'go-bindata',
    42      binary = True,
    43      get = 'github.com/kevinburke/go-bindata/...',
    44      revision = '46eb4c183bfc1ebb527d9d19bcded39476302eb8',
    45      strip = ['testdata'],
    46  )
    47  
    48  go_get(
    49      name = 'go-flags',
    50      get = 'github.com/jessevdk/go-flags',
    51      patch = 'flags_subcommand.patch',
    52      revision = 'v1.3.0',
    53  )
    54  
    55  go_get(
    56      name = 'humanize',
    57      get = 'github.com/dustin/go-humanize',
    58      revision = '8929fe90cee4b2cb9deb468b51fb34eba64d1bf0',
    59  )
    60  
    61  go_get(
    62      name = 'mux',
    63      get = 'github.com/gorilla/mux',
    64      revision = '9c068cf16d982f8bd444b8c352acbeec34c4fe5b',
    65      deps = [
    66          ':gorilla_context',
    67      ],
    68  )
    69  
    70  go_get(
    71      name = 'gorilla_context',
    72      get = 'github.com/gorilla/context',
    73      revision = '1c83b3eabd45b6d76072b66b746c20815fb2872d',
    74  )
    75  
    76  go_get(
    77      name = 'net',
    78      get = 'golang.org/x/net/...',
    79      revision = '136a25c244d3019482a795d728110278d6ba09a4',
    80      deps = [
    81          ':terminal',
    82          ':text',
    83      ],
    84  )
    85  
    86  go_get(
    87      name = 'text',
    88      get = 'golang.org/x/text/...',
    89      revision = '4e4a3210bb54bb31f6ab2cdca2edcc0b50c420c1',
    90      deps = [
    91          ':tools',
    92      ],
    93  )
    94  
    95  go_get(
    96      name = 'tools',
    97      get = 'golang.org/x/tools',
    98      install = [
    99          'cover',
   100      ],
   101      revision = '2ae76fd1560b622911f444c1e66b70a857e1de67',
   102  )
   103  
   104  go_get(
   105      name = 'grpc',
   106      exported_deps = [':net'],
   107      get = 'google.golang.org/grpc',
   108      install = [
   109          '',
   110          'balancer',
   111          'balancer/base',
   112          'balancer/roundrobin',
   113          'codes',
   114          'connectivity',
   115          'credentials',
   116          'encoding',
   117          'encoding/gzip',
   118          'encoding/proto',
   119          'grpclb/grpc_lb_v1/messages',
   120          'grpclog',
   121          'health',
   122          'health/grpc_health_v1',
   123          'internal',
   124          'keepalive',
   125          'metadata',
   126          'naming',
   127          'peer',
   128          'resolver',
   129          'resolver/dns',
   130          'resolver/passthrough',
   131          'stats',
   132          'status',
   133          'tap',
   134          'transport',
   135      ],
   136      revision = 'v1.10.0',
   137      deps = [
   138          ':protobuf',
   139          ':rpcstatus',
   140      ],
   141  )
   142  
   143  #TODO: build from the actual proto.
   144  go_get(
   145      name = 'rpcstatus',
   146      get = 'google.golang.org/genproto/googleapis/rpc/status',
   147      revision = '2b5a72b8730b0b16380010cfe5286c42108d88e7',
   148      deps = [':protobuf'],
   149  )
   150  
   151  go_get(
   152      name = 'protobuf',
   153      get = 'github.com/golang/protobuf/...',
   154      revision = '130e6b02ab059e7b717a096f397c5b60111cae74',
   155  )
   156  
   157  go_get(
   158      name = 'protoc-gen-go',
   159      binary = True,
   160      get = [],
   161      install = ['github.com/golang/protobuf/protoc-gen-go'],
   162      deps = [
   163          ':protobuf',
   164      ],
   165  )
   166  
   167  go_get(
   168      name = 'spew',
   169      get = 'github.com/davecgh/go-spew/spew',
   170      patch = 'spew_omit_empty.patch',
   171      revision = 'ecdeabc65495df2dec95d7c4a4c3e021903035e5',
   172  )
   173  
   174  go_get(
   175      name = 'testify',
   176      get = 'github.com/stretchr/testify',
   177      install = [
   178          'assert',
   179          'require',
   180          'vendor/github.com/davecgh/go-spew/spew',
   181          'vendor/github.com/pmezard/go-difflib/difflib',
   182      ],
   183      revision = 'f390dcf405f7b83c997eac1b06768bb9f44dec18',
   184      deps = [':spew'],
   185  )
   186  
   187  go_get(
   188      name = 'go-isatty',
   189      get = 'github.com/mattn/go-isatty',
   190      revision = '6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c',
   191  )
   192  
   193  go_get(
   194      name = 'prompter',
   195      get = 'github.com/Songmu/prompter',
   196      revision = 'f49666b0047d12850875d771340e1d862d9e7a0c',
   197      deps = [
   198          ':go-isatty',
   199          ':terminal',
   200      ],
   201  )
   202  
   203  go_get(
   204      name = 'levenshtein',
   205      get = 'github.com/texttheater/golang-levenshtein/levenshtein',
   206      revision = '14026fface0cb806188c85e792a93d625dc37d0f',
   207  )
   208  
   209  go_get(
   210      name = 'queue',
   211      get = 'github.com/Workiva/go-datastructures/queue',
   212      revision = '064f3ea06ab2337e6eaf42052392d14f779e91cb',
   213  )
   214  
   215  go_get(
   216      name = 'fsnotify',
   217      get = 'github.com/fsnotify/fsnotify',
   218      revision = 'a8a77c9133d2d6fd8334f3260d06f60e8d80a5fb',
   219      deps = [':unix'],
   220  )
   221  
   222  go_get(
   223      name = 'concurrent-map',
   224      get = 'github.com/streamrail/concurrent-map',
   225      revision = '5fc745307dc80a1883243b978f7e7c0fd5ce7206',
   226  )
   227  
   228  go_get(
   229      name = 'quantile',
   230      get = 'github.com/beorn7/perks/quantile',
   231      revision = '4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9',
   232  )
   233  
   234  go_get(
   235      name = 'pbutil',
   236      get = 'github.com/matttproud/golang_protobuf_extensions/pbutil',
   237      revision = 'c12348ce28de40eed0136aa2b644d0ee0650e56c',
   238      deps = [':protobuf'],
   239  )
   240  
   241  go_get(
   242      name = 'prometheus',
   243      get = 'github.com/prometheus/client_golang/prometheus/...',
   244      revision = 'c5b7fccd204277076155f10851dad72b76a49317',
   245      deps = [
   246          ':grpc',
   247          ':pbutil',
   248          ':procfs',
   249          ':prometheus_client_model',
   250          ':prometheus_common',
   251          ':protobuf',
   252          ':quantile',
   253      ],
   254  )
   255  
   256  go_get(
   257      name = 'prometheus_common',
   258      get = 'github.com/prometheus/common',
   259      install = [
   260          'expfmt',
   261          'model',
   262          'internal/bitbucket.org/ww/goautoneg',
   263      ],
   264      revision = '89604d197083d4781071d3c65855d24ecfb0a563',
   265      deps = [
   266          ':pbutil',
   267          ':prometheus_client_model',
   268          ':protobuf',
   269      ],
   270  )
   271  
   272  go_get(
   273      name = 'prometheus_client_model',
   274      get = 'github.com/prometheus/client_model/go',
   275      revision = '99fa1f4be8e564e8a6b613da7fa6f46c9edafc6c',
   276      deps = [
   277          ':protobuf',
   278      ],
   279  )
   280  
   281  go_get(
   282      name = 'procfs',
   283      get = 'github.com/prometheus/procfs',
   284      revision = 'abf152e5f3e97f2fafac028d2cc06c1feb87ffa5',
   285      strip = ['fixtures'],  # Test fixture has a symlink to /usr/bin/vim which might not exist
   286  )
   287  
   288  go_get(
   289      name = 'grpc-prometheus',
   290      get = 'github.com/grpc-ecosystem/go-grpc-prometheus',
   291      revision = '34abd90a014618f61222a1b0a7b7eb834a2d0dc3',
   292      deps = [
   293          ':grpc',
   294          ':procfs',
   295          ':prometheus',
   296          ':protobuf',
   297      ],
   298  )
   299  
   300  go_get(
   301      name = 'grpc-middleware',
   302      get = 'github.com/grpc-ecosystem/go-grpc-middleware',
   303      install = [
   304          'retry',
   305          'util/metautils',
   306          'util/backoffutils',
   307      ],
   308      revision = 'fa8fef87dcecac0bda02d36abb3c790ab9e0030b',
   309      deps = [
   310          ':grpc',
   311          ':net',
   312          ':protobuf',
   313      ],
   314  )
   315  
   316  go_get(
   317      name = 'shlex',
   318      get = 'github.com/google/shlex',
   319      revision = '6f45313302b9c56850fc17f99e40caebce98c716',
   320  )
   321  
   322  go_get(
   323      name = 'semver',
   324      get = 'github.com/coreos/go-semver/semver',
   325      revision = '8ab6407b697782a06568d4b7f1db25550ec2e4c6',
   326  )
   327  
   328  go_get(
   329      name = 'memberlist',
   330      get = 'github.com/hashicorp/memberlist',
   331      revision = '7ad712f5f34ec40aebe6ca47756d07898486a8d2',
   332      deps = [
   333          ':dns',
   334          ':go-metrics',
   335          ':go-msgpack',
   336          ':go-multierror',
   337      ],
   338  )
   339  
   340  go_get(
   341      name = 'go-msgpack',
   342      get = 'github.com/hashicorp/go-msgpack/...',
   343      revision = 'fa3f63826f7c23912c15263591e65d54d080b458',
   344  )
   345  
   346  go_get(
   347      name = 'go-multierror',
   348      get = 'github.com/hashicorp/go-multierror',
   349      install = [
   350          '',
   351          'vendor/github.com/hashicorp/errwrap',
   352      ],
   353      revision = 'b7773ae218740a7be65057fc60b366a49b538a44',
   354  )
   355  
   356  go_get(
   357      name = 'go-metrics',
   358      get = 'github.com/armon/go-metrics',
   359      revision = '7aa49fde808223f8dadfdbfd3a20ff6c19e5f9ec',
   360      deps = [
   361          ':go-immutable-radix',
   362          ':verify',
   363      ],
   364  )
   365  
   366  go_get(
   367      name = 'go-immutable-radix',
   368      get = 'github.com/hashicorp/go-immutable-radix',
   369      revision = '7f3cd4390caab3250a57f30efdb2a65dd7649ecf',
   370      deps = [
   371          ':go-uuid',
   372          ':simplelru',
   373      ],
   374  )
   375  
   376  go_get(
   377      name = 'simplelru',
   378      get = 'github.com/hashicorp/golang-lru/simplelru',
   379      revision = '0fb14efe8c47ae851c0034ed7a448854d3d34cf3',
   380  )
   381  
   382  go_get(
   383      name = 'go-uuid',
   384      get = 'github.com/hashicorp/go-uuid',
   385      revision = '64130c7a86d732268a38cb04cfbaf0cc987fda98',
   386  )
   387  
   388  go_get(
   389      name = 'verify',
   390      get = 'github.com/pascaldekloe/goe/verify',
   391      revision = 'c580d16984352a427218a8e43232313d1c1c6f84',
   392  )
   393  
   394  go_get(
   395      name = 'dns',
   396      get = 'github.com/miekg/dns/...',
   397      revision = 'be5ae6ca7ac994584d2e30167737687f1c1ded8e',
   398  )
   399  
   400  go_get(
   401      name = 'atime',
   402      get = 'github.com/djherbis/atime',
   403      revision = '89517e96e10b93292169a79fd4523807bdc5d5fa',
   404  )
   405  
   406  go_get(
   407      name = 'errgroup',
   408      get = 'golang.org/x/sync/errgroup',
   409      revision = '457c5828408160d6a47e17645169cf8fa20218c4',
   410      deps = [':net'],
   411  )
   412  
   413  go_get(
   414      name = 'psutil',
   415      get = 'github.com/shirou/gopsutil',
   416      install = [
   417          'cpu',
   418          'internal/common',
   419          'mem',
   420      ],
   421      revision = 'v2.17.09',
   422      deps = [':unix'],
   423  )
   424  
   425  go_get(
   426      name = 'unix',
   427      get = 'golang.org/x/sys/unix',
   428      revision = 'ebfc5b4631820b793c9010c87fd8fef0f39eb082',
   429  )
   430  
   431  go_get(
   432      name = 'openpgp',
   433      get = 'golang.org/x/crypto/openpgp/...',
   434      revision = '077efaa604f994162e3307fafe5954640763fc08',
   435      deps = [':cast5'],
   436  )
   437  
   438  go_get(
   439      name = 'cast5',
   440      get = 'golang.org/x/crypto/cast5',
   441      revision = '077efaa604f994162e3307fafe5954640763fc08',
   442  )
   443  
   444  go_get(
   445      name = 'go-fuzz-build',
   446      binary = True,
   447      get = [],
   448      install = ['github.com/dvyukov/go-fuzz/go-fuzz-build'],
   449      deps = [':go-fuzz-dep'],
   450  )
   451  
   452  go_get(
   453      name = 'go-fuzz',
   454      binary = True,
   455      get = [],
   456      install = ['github.com/dvyukov/go-fuzz/go-fuzz'],
   457      deps = [':go-fuzz-dep'],
   458  )
   459  
   460  go_get(
   461      name = 'go-fuzz-dep',
   462      get = 'github.com/dvyukov/go-fuzz',
   463      install = [
   464          'go-fuzz-dep',
   465          'go-fuzz-defs',
   466      ],
   467      revision = '445b00a1141b27425541ee8d7dc2f524faf202a9',
   468  )
   469  
   470  go_get(
   471      name = 'godirwalk',
   472      get = 'github.com/karrick/godirwalk',
   473      revision = '17c244300a0e2101858b851a8df1ae8e796a0bca',
   474      strip = [
   475          'examples',
   476          'testdata',
   477          'vendor',
   478      ],
   479      deps = [':errors'],
   480  )
   481  
   482  go_get(
   483      name = 'errors',
   484      get = 'github.com/pkg/errors',
   485      revision = '30136e27e2ac8d167177e8a583aa4c3fea5be833',
   486  )