-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdefault.nix
24 lines (24 loc) · 867 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ mkDerivation, aeson, base, bytestring, cereal, cryptonite
, exceptions, hpack, mtl, natural-transformation, postgresql-simple
, postgresql-simple-migration, resource-pool, servant-auth
, servant-auth-server, servant-server, stdenv, text, transformers
, wai, warp
}:
mkDerivation {
pname = "servant-starter-app";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base bytestring cereal cryptonite exceptions mtl
natural-transformation postgresql-simple
postgresql-simple-migration resource-pool servant-auth
servant-auth-server servant-server text transformers wai warp
];
libraryToolDepends = [ hpack ];
executableHaskellDepends = [ base ];
preConfigure = "hpack";
homepage = "https://github.com/sboehler/servant-starter-app#readme";
license = stdenv.lib.licenses.bsd3;
}