about summary refs log tree commit diff
path: root/fun/watchblob/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-21T01·13+0000
committerVincent Ambo <tazjin@google.com>2019-12-21T01·13+0000
commit5f4924cfa769fc2be2ddbd8fe6f82cb0b3663409 (patch)
tree30e0fa51334113c8fb17bacb42001bd4f0ab2e6a /fun/watchblob/default.nix
parent96b82a8033ba1ccae89226cd99f64018f223b7ea (diff)
feat(watchblob): Check in Nix expression with buildGo r/267
Diffstat (limited to 'fun/watchblob/default.nix')
-rw-r--r--fun/watchblob/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/fun/watchblob/default.nix b/fun/watchblob/default.nix
new file mode 100644
index 000000000000..51f14ab16381
--- /dev/null
+++ b/fun/watchblob/default.nix
@@ -0,0 +1,13 @@
+{ pkgs, ... }:
+
+pkgs.buildGo.program {
+  name = "watchblob";
+  srcs = [
+    ./main.go
+    ./urls.go
+  ];
+
+  deps = with pkgs.third_party; [
+    gopkgs."golang.org".x.crypto.ssh.terminal.gopkg
+  ];
+}