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..c7a7b741b69e
--- /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 = "55e96fffbd486c27fc0d5b4468c497d0de3f2727";
+  };
+
+  deps = with pkgs.third_party; [
+    gopkgs."github.com".golang.protobuf.proto.gopkg
+    gopkgs."github.com".golang.protobuf.ptypes.any.gopkg
+  ];
+}