about summary refs log tree commit diff
path: root/third_party/gopkgs/github.com/cenkalti/backoff
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gopkgs/github.com/cenkalti/backoff')
-rw-r--r--third_party/gopkgs/github.com/cenkalti/backoff/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/gopkgs/github.com/cenkalti/backoff/default.nix b/third_party/gopkgs/github.com/cenkalti/backoff/default.nix
new file mode 100644
index 000000000000..c0e0335de734
--- /dev/null
+++ b/third_party/gopkgs/github.com/cenkalti/backoff/default.nix
@@ -0,0 +1,12 @@
+{ depot, pkgs, ... }:
+
+depot.nix.buildGo.external {
+  path = "github.com/cenkalti/backoff/v4";
+
+  src = pkgs.fetchFromGitHub {
+    owner = "cenkalti";
+    repo = "backoff";
+    rev = "18fe4ce5a8550e0d0919b680ad3c080a5455bddf";
+    sha256 = "083617p066p77ik0js8wwgb5qzabgvl8wqpkjb8s9alpyqsq2mpg";
+  };
+}