about summary refs log tree commit diff
path: root/fun/clbot/gerrit/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'fun/clbot/gerrit/default.nix')
-rw-r--r--fun/clbot/gerrit/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/fun/clbot/gerrit/default.nix b/fun/clbot/gerrit/default.nix
new file mode 100644
index 000000000000..725b400e6c95
--- /dev/null
+++ b/fun/clbot/gerrit/default.nix
@@ -0,0 +1,18 @@
+{ depot, ... }:
+
+let
+  inherit (depot.fun) clbot;
+  inherit (depot.third_party) gopkgs;
+in
+depot.nix.buildGo.package {
+  name = "code.tvl.fyi/fun/clbot/gerrit";
+  srcs = [
+    ./watcher.go
+  ];
+  deps = [
+    clbot.gerrit.gerritevents
+    gopkgs."github.com".cenkalti.backoff.gopkg
+    gopkgs."github.com".golang.glog.gopkg
+    gopkgs."golang.org".x.crypto.ssh.gopkg
+  ];
+}