about summary refs log blame commit diff
path: root/monzo_ynab/tokens.nix
blob: a00191a207824f54367ac2144f7efe503b1754bc (plain) (tree)
1
2
3
4
5
6





                                    










                                   





                                 

         

    
{
  depot ? import <depot> {},
  briefcase ? import <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
  ];
}