about summary refs log blame commit diff
path: root/users/wpcarro/tools/monzo_ynab/tokens.nix
blob: b58c272bde02f8e4529e7501465d330cf91f1d2d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
               
 
   


                                       



                  
                         


           
                              



                        
                       
      

         

    
{ 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
  ];
}