about summary refs log tree commit diff
path: root/third_party/gopkgs/go.opencensus.io
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gopkgs/go.opencensus.io')
-rw-r--r--third_party/gopkgs/go.opencensus.io/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/gopkgs/go.opencensus.io/default.nix b/third_party/gopkgs/go.opencensus.io/default.nix
new file mode 100644
index 000000000000..af9690880fd4
--- /dev/null
+++ b/third_party/gopkgs/go.opencensus.io/default.nix
@@ -0,0 +1,14 @@
+{ depot, ... }:
+
+depot.buildGo.external {
+  path = "go.opencensus.io";
+  src = builtins.fetchGit {
+    url = "https://github.com/census-instrumentation/opencensus-go";
+    rev = "643eada29081047b355cfaa1ceb9bc307a10423c";
+  };
+
+  deps = with depot.third_party; map (p: p.gopkg) [
+    gopkgs."github.com".hashicorp.golang-lru.simplelru
+    gopkgs."github.com".golang.groupcache.lru
+  ];
+}