about summary refs log tree commit diff
path: root/website/sandbox/learnpianochords/src/server/default.nix
blob: 4efe1183d16adf4e8210e443a0ff4ac7618d1262 (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
let
  briefcase = import /home/wpcarro/briefcase {};
in briefcase.buildHaskell.program {
  name = "server";
  srcs = builtins.path {
    path = ./.;
    name = "LearnPianoChords-server-src";
  };
  ghcExtensions = [
    "OverloadedStrings"
    "NoImplicitPrelude"
    "RecordWildCards"
    "TypeApplications"
  ];
  deps = hpkgs: with hpkgs; [
    servant-server
    aeson
    wai-cors
    warp
    jwt
    unordered-containers
    base64
    http-conduit
    rio
    envy
  ];
}