about summary refs log tree commit diff
path: root/monzo_ynab/tokens.nix
diff options
context:
space:
mode:
Diffstat (limited to 'monzo_ynab/tokens.nix')
-rw-r--r--monzo_ynab/tokens.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/monzo_ynab/tokens.nix b/monzo_ynab/tokens.nix
new file mode 100644
index 000000000000..6b932e3975ad
--- /dev/null
+++ b/monzo_ynab/tokens.nix
@@ -0,0 +1,15 @@
+{
+  depot ? import <depot> {},
+  briefcase ? import <briefcase> {},
+  ...
+}:
+
+depot.buildGo.program {
+  name = "token-server";
+  srcs = [
+    ./tokens.go
+  ];
+  deps = with briefcase.gopkgs; [
+    kv
+  ];
+}