about summary refs log tree commit diff
path: root/monzo_ynab/tokens.nix
blob: 97de09d741e9f9f67491bb624961aded3e1f938a (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
{ depot, 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
  ];
}