about summary refs log tree commit diff
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
parent96b82a8033ba1ccae89226cd99f64018f223b7ea (diff)
feat(watchblob): Check in Nix expression with buildGo r/267
-rw-r--r--fun/watchblob/default.nix13
-rw-r--r--third_party/gopkgs/golang.org/x/crypto/default.nix4
2 files changed, 14 insertions, 3 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
+  ];
+}
diff --git a/third_party/gopkgs/golang.org/x/crypto/default.nix b/third_party/gopkgs/golang.org/x/crypto/default.nix
index 9610157d31ec..11c9b0ea8b1b 100644
--- a/third_party/gopkgs/golang.org/x/crypto/default.nix
+++ b/third_party/gopkgs/golang.org/x/crypto/default.nix
@@ -8,8 +8,6 @@ pkgs.buildGo.external {
   };
 
   deps = with pkgs.third_party; [
-    # gopkgs."golang.org".x.text.secure.bidirule.gopkg
-    # gopkgs."golang.org".x.text.unicode.bidi.gopkg
-    # gopkgs."golang.org".x.text.unicode.norm.gopkg
+    gopkgs."golang.org".x.sys.unix.gopkg
   ];
 }