diff options
Diffstat (limited to 'users/wpcarro/tools/monzo_ynab/tokens.nix')
-rw-r--r-- | users/wpcarro/tools/monzo_ynab/tokens.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/users/wpcarro/tools/monzo_ynab/tokens.nix b/users/wpcarro/tools/monzo_ynab/tokens.nix new file mode 100644 index 000000000000..97de09d741e9 --- /dev/null +++ b/users/wpcarro/tools/monzo_ynab/tokens.nix @@ -0,0 +1,23 @@ +{ depot, briefcase, ... }: + +let + auth = depot.buildGo.package { + name = "auth"; + srcs = [ + ./auth.go + ]; + deps = with briefcase.gopkgs; [ + utils + ]; + }; +in depot.buildGo.program { + name = "token-server"; + srcs = [ + ./tokens.go + ]; + deps = with briefcase.gopkgs; [ + kv + utils + auth + ]; +} |