about summary refs log tree commit diff
path: root/third_party/gopkgs/google.golang.org/genproto/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gopkgs/google.golang.org/genproto/default.nix')
-rw-r--r--third_party/gopkgs/google.golang.org/genproto/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/gopkgs/google.golang.org/genproto/default.nix b/third_party/gopkgs/google.golang.org/genproto/default.nix
new file mode 100644
index 000000000000..e3b0a2065ae1
--- /dev/null
+++ b/third_party/gopkgs/google.golang.org/genproto/default.nix
@@ -0,0 +1,14 @@
+{ depot, ... }:
+
+depot.buildGo.external {
+  path = "google.golang.org/genproto";
+  src = builtins.fetchGit {
+    url = "https://github.com/google/go-genproto";
+    rev = "0243a4be9c8f1264d238fdc2895620b4d9baf9e1";
+  };
+
+  deps = with depot.third_party; [
+    gopkgs."github.com".golang.protobuf.proto.gopkg
+    gopkgs."github.com".golang.protobuf.ptypes.any.gopkg
+  ];
+}