chore: simplify buildGo expressions
This removes redundant `map (p: p.gopkg)` expressions. Change-Id: If25d603c27d63ae011f396caf5d26cdfdb8c28d5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1625 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
This commit is contained in:
parent
596e1f7f77
commit
94387dbc25
13 changed files with 15 additions and 15 deletions
|
@ -6,7 +6,7 @@ depot.nix.buildGo.program {
|
||||||
./main.go
|
./main.go
|
||||||
];
|
];
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
# gopkgs."golang.org".x.oauth2.google
|
# gopkgs."golang.org".x.oauth2.google
|
||||||
gopkgs."googlemaps.github.io".maps
|
gopkgs."googlemaps.github.io".maps
|
||||||
];
|
];
|
||||||
|
|
|
@ -25,7 +25,7 @@ in rec {
|
||||||
rev = "ffdde105785063a81acd95bdf89ea53f6e0aac2d";
|
rev = "ffdde105785063a81acd95bdf89ea53f6e0aac2d";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = map (p: p.gopkg) [
|
deps = [
|
||||||
xtext.secure.bidirule
|
xtext.secure.bidirule
|
||||||
xtext.unicode.bidi
|
xtext.unicode.bidi
|
||||||
xtext.unicode.norm
|
xtext.unicode.norm
|
||||||
|
@ -55,7 +55,7 @@ in rec {
|
||||||
rev = "83cc0476cb11ea0da33dacd4c6354ab192de6fe6";
|
rev = "83cc0476cb11ea0da33dacd4c6354ab192de6fe6";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with goProto; map (p: p.gopkg) [
|
deps = with goProto; [
|
||||||
proto
|
proto
|
||||||
ptypes.any
|
ptypes.any
|
||||||
];
|
];
|
||||||
|
@ -63,7 +63,7 @@ in rec {
|
||||||
|
|
||||||
goGrpc = external {
|
goGrpc = external {
|
||||||
path = "google.golang.org/grpc";
|
path = "google.golang.org/grpc";
|
||||||
deps = map (p: p.gopkg) ([
|
deps = ([
|
||||||
xnet.trace
|
xnet.trace
|
||||||
xnet.http2
|
xnet.http2
|
||||||
xsys.unix
|
xsys.unix
|
||||||
|
|
|
@ -7,7 +7,7 @@ depot.buildGo.external {
|
||||||
rev = "7f827b33c0f158ec5dfbba01bb0b14a4541fd81d";
|
rev = "7f827b33c0f158ec5dfbba01bb0b14a4541fd81d";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."golang.org".x.net.context.ctxhttp
|
gopkgs."golang.org".x.net.context.ctxhttp
|
||||||
gopkgs."cloud.google.com".go.compute.metadata
|
gopkgs."cloud.google.com".go.compute.metadata
|
||||||
];
|
];
|
||||||
|
|
|
@ -10,7 +10,7 @@ depot.buildGo.external {
|
||||||
sha256 = "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl";
|
sha256 = "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."golang.org".x.net.context
|
gopkgs."golang.org".x.net.context
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ depot.buildGo.external {
|
||||||
sha256 = "044j95skmyrwjw5fwjk6ka32rjgsg0ar0mfp9np19sh1acwv4x4r";
|
sha256 = "044j95skmyrwjw5fwjk6ka32rjgsg0ar0mfp9np19sh1acwv4x4r";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."gopkg.in".warnings
|
gopkgs."gopkg.in".warnings
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ depot.buildGo.external {
|
||||||
sha256 = "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av";
|
sha256 = "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."golang.org".x.crypto.ssh.agent
|
gopkgs."golang.org".x.crypto.ssh.agent
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ depot.buildGo.external {
|
||||||
rev = "643eada29081047b355cfaa1ceb9bc307a10423c";
|
rev = "643eada29081047b355cfaa1ceb9bc307a10423c";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."github.com".hashicorp.golang-lru.simplelru
|
gopkgs."github.com".hashicorp.golang-lru.simplelru
|
||||||
gopkgs."github.com".golang.groupcache.lru
|
gopkgs."github.com".golang.groupcache.lru
|
||||||
];
|
];
|
||||||
|
|
|
@ -7,7 +7,7 @@ depot.buildGo.external {
|
||||||
rev = "858c2ad4c8b6c5d10852cb89079f6ca1c7309787";
|
rev = "858c2ad4c8b6c5d10852cb89079f6ca1c7309787";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."golang.org".x.net.context.ctxhttp
|
gopkgs."golang.org".x.net.context.ctxhttp
|
||||||
gopkgs."cloud.google.com".go.compute.metadata
|
gopkgs."cloud.google.com".go.compute.metadata
|
||||||
];
|
];
|
||||||
|
|
|
@ -7,7 +7,7 @@ depot.buildGo.external {
|
||||||
rev = "8b4e46d953bd748a9ff098644a42389b3d8dab41";
|
rev = "8b4e46d953bd748a9ff098644a42389b3d8dab41";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."github.com".googleapis.gax-go.v2
|
gopkgs."github.com".googleapis.gax-go.v2
|
||||||
gopkgs."golang.org".x.oauth2.google
|
gopkgs."golang.org".x.oauth2.google
|
||||||
gopkgs."golang.org".x.oauth2
|
gopkgs."golang.org".x.oauth2
|
||||||
|
|
|
@ -7,7 +7,7 @@ depot.buildGo.external {
|
||||||
rev = "085c980048876e2735d4aba8f0d5bca4d7acaaa5";
|
rev = "085c980048876e2735d4aba8f0d5bca4d7acaaa5";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."golang.org".x.net.trace
|
gopkgs."golang.org".x.net.trace
|
||||||
gopkgs."golang.org".x.net.http2
|
gopkgs."golang.org".x.net.http2
|
||||||
gopkgs."golang.org".x.net.http2.hpack
|
gopkgs."golang.org".x.net.http2.hpack
|
||||||
|
|
|
@ -10,7 +10,7 @@ depot.nix.buildGo.external {
|
||||||
sha256 = "1zpl85yd3m417060isdlhxzakqkf4f59jgpz3kcjp2i0mkrskkjs";
|
sha256 = "1zpl85yd3m417060isdlhxzakqkf4f59jgpz3kcjp2i0mkrskkjs";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."github.com".google.uuid
|
gopkgs."github.com".google.uuid
|
||||||
gopkgs."golang.org".x.time.rate
|
gopkgs."golang.org".x.time.rate
|
||||||
];
|
];
|
||||||
|
|
|
@ -10,7 +10,7 @@ depot.buildGo.external {
|
||||||
sha256 = "1j0pl6ggzmd2lrqj71vmsnl6cqm43145h7yg6sy3j5n7hhd592qv";
|
sha256 = "1j0pl6ggzmd2lrqj71vmsnl6cqm43145h7yg6sy3j5n7hhd592qv";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."golang.org".x.sys.unix
|
gopkgs."golang.org".x.sys.unix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ depot.buildGo.external {
|
||||||
sha256 = "08jl4ljrzzil7c3qcl2y1859nhpgw9ixxy1g40ff7kmq989yhs6v";
|
sha256 = "08jl4ljrzzil7c3qcl2y1859nhpgw9ixxy1g40ff7kmq989yhs6v";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with depot.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; [
|
||||||
gopkgs."github.com".emirpasic.gods.trees.binaryheap
|
gopkgs."github.com".emirpasic.gods.trees.binaryheap
|
||||||
gopkgs."github.com".jbenet.go-context.io
|
gopkgs."github.com".jbenet.go-context.io
|
||||||
gopkgs."github.com".kevinburke.ssh_config
|
gopkgs."github.com".kevinburke.ssh_config
|
||||||
|
|
Loading…
Reference in a new issue