about summary refs log tree commit diff
path: root/users/wpcarro/tools/monzo_ynab/tokens.nix
blob: 4e2761bc7882caf9bdcfccf48133260ecf2e1b79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
  ];
}