about summary refs log tree commit diff
path: root/third_party/gopkgs/github.com/googleapis/gax-go/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gopkgs/github.com/googleapis/gax-go/default.nix')
-rw-r--r--third_party/gopkgs/github.com/googleapis/gax-go/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/gopkgs/github.com/googleapis/gax-go/default.nix b/third_party/gopkgs/github.com/googleapis/gax-go/default.nix
new file mode 100644
index 000000000000..d897e155e986
--- /dev/null
+++ b/third_party/gopkgs/github.com/googleapis/gax-go/default.nix
@@ -0,0 +1,19 @@
+{ depot, ... }:
+
+let
+  inherit (depot) buildGo;
+  inherit (builtins) fetchGit;
+in depot.buildGo.external {
+  path = "github.com/googleapis/gax-go";
+  src = fetchGit {
+    url = "https://github.com/googleapis/gax-go";
+    rev = "b443e5a67ec8eeac76f5f384004931878cab24b3";
+  };
+
+  deps = with depot.third_party; [
+    gopkgs."golang.org".x.net.trace.gopkg
+    gopkgs."google.golang.org".grpc.gopkg
+    gopkgs."google.golang.org".grpc.codes.gopkg
+    gopkgs."google.golang.org".grpc.status.gopkg
+  ];
+}