about summary refs log tree commit diff
path: root/users/wpcarro/website/sandbox/learnpianochords/src/server/default.nix
blob: 883f7017079bcedee428c05e7dda24d84f87dc37 (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
27
28
29
{ depot, ... }:

depot.users.wpcarro.buildHaskell.program {
  name = "server";
  srcs = builtins.path {
    path = ./.;
    name = "LearnPianoChords-server-src";
  };
  ghcExtensions = [
    "OverloadedStrings"
    "NoImplicitPrelude"
    "RecordWildCards"
    "TypeApplications"
  ];
  deps = hpkgs: with hpkgs; [
    string-conversions
    servant-server
    aeson
    wai-cors
    warp
    jwt
    unordered-containers
    base64
    http-conduit
    rio
    envy
    req
  ];
}