about summary refs log tree commit diff
path: root/third_party/gopkgs/go.opencensus.io/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gopkgs/go.opencensus.io/default.nix')
-rw-r--r--third_party/gopkgs/go.opencensus.io/default.nix13
1 files changed, 13 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..8abd757480f4
--- /dev/null
+++ b/third_party/gopkgs/go.opencensus.io/default.nix
@@ -0,0 +1,13 @@
+{ pkgs, ... }:
+
+pkgs.buildGo.external {
+  path = "go.opencensus.io";
+  src = builtins.fetchGit {
+    url = "https://github.com/census-instrumentation/opencensus-go";
+    rev = "b4a14686f0a98096416fe1b4cb848e384fb2b22b";
+  };
+
+  deps = with pkgs.third_party; map (p: p.gopkg) [
+    gopkgs."github.com".hashicorp.golang-lru.simplelru
+  ];
+}