about summary refs log tree commit diff
path: root/third_party/gopkgs/google.golang.org/genproto
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gopkgs/google.golang.org/genproto')
-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..50280296b84d
--- /dev/null
+++ b/third_party/gopkgs/google.golang.org/genproto/default.nix
@@ -0,0 +1,14 @@
+{ pkgs, ... }:
+
+pkgs.buildGo.external {
+  path = "google.golang.org/genproto";
+  src = builtins.fetchGit {
+    url = "https://github.com/google/go-genproto";
+    rev = "0243a4be9c8f1264d238fdc2895620b4d9baf9e1";
+  };
+
+  deps = with pkgs.third_party; [
+    gopkgs."github.com".golang.protobuf.proto.gopkg
+    gopkgs."github.com".golang.protobuf.ptypes.any.gopkg
+  ];
+}