about summary refs log tree commit diff
path: root/users/wpcarro/tools/monzo_ynab/tokens.nix
{ 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
  ];
}