diff options
Diffstat (limited to 'users/wpcarro/tools/monzo_ynab/tokens.nix')
-rw-r--r-- | users/wpcarro/tools/monzo_ynab/tokens.nix | 26 |
1 files changed, 26 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..4e2761bc7882 --- /dev/null +++ b/users/wpcarro/tools/monzo_ynab/tokens.nix @@ -0,0 +1,26 @@ +{ depot, ... }: + +let + inherit (depot.users.wpcarro) gopkgs; + + auth = depot.nix.buildGo.package { + name = "auth"; + srcs = [ + ./auth.go + ]; + deps = with gopkgs; [ + utils + ]; + }; +in +depot.nix.buildGo.program { + name = "token-server"; + srcs = [ + ./tokens.go + ]; + deps = with gopkgs; [ + kv + utils + auth + ]; +} |