github.com/distbuild/reclient@v0.0.0-20240401075343-3de72e395564/go_deps.bzl (about) 1 load("@bazel_gazelle//:deps.bzl", "go_repository") 2 3 def shirou_gopsutil_deps(): 4 # this repo is the dependency for com_github_shirou_gopsutil Mac OS build. 5 go_repository( 6 name = "com_github_shoenig_go-m1cpu", 7 commit = "41fe74c064b56dad60b3cbe1a62f82d39a06960b", 8 importpath = "github.com/shoenig/go-m1cpu", 9 ) 10 11 # this repo is the dependency for com_github_shirou_gopsutil windows build. 12 go_repository( 13 name = "com_github_go_ole_go_ole", 14 importpath = "github.com/go-ole/go-ole", 15 sum = "h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=", 16 version = "v1.2.6", 17 ) 18 19 # this repo is the dependency for com_github_shirou_gopsutil windows build. 20 go_repository( 21 name = "com_github_yusufpapurcu_wmi", 22 commit = "84686519bfe3928447925505e8201e997c0ad0c1", 23 importpath = "github.com/yusufpapurcu/wmi", 24 ) 25 26 # this repo is the dependency for com_github_shirou_gopsutil. 27 go_repository( 28 name = "com_github_tklauser_go-sysconf", 29 commit = "8725eefab62068f7b2e637e6e3de89682ae5052b", 30 importpath = "github.com/tklauser/go-sysconf", 31 ) 32 33 #this repo is the dependency for com_github_shirou_gopsutil. 34 go_repository( 35 name = "com_github_tklauser_numcpus", 36 commit = "7db9889716ca99cfb0278267fb969161af9bb03d", 37 importpath = "github.com/tklauser/numcpus", 38 )