tvl-depot/fun/clbot/backoffutil/default.nix
Luke Granger-Brown 9099497185 chore(clbot): Refactor backoff utility into a separate package.
It'll be reused by the IRC side of things too.

Change-Id: I3d84f3fd5fca6a6d948f331143b14f096d10675d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/342
Reviewed-by: tazjin <mail@tazj.in>
2020-06-15 16:48:58 +00:00

14 lines
239 B
Nix

{ depot, ... }:
let
inherit (depot.third_party) gopkgs;
in
depot.nix.buildGo.package {
name = "code.tvl.fyi/fun/clbot/backoffutil";
srcs = [
./backoffutil.go
];
deps = [
gopkgs."github.com".cenkalti.backoff.gopkg
];
}