-
Notifications
You must be signed in to change notification settings - Fork 1
/
servantEcho.nix
29 lines (29 loc) · 1.22 KB
/
servantEcho.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
25
26
27
28
29
{ mkDerivation, aeson, async, base, bytestring, clock, containers
, directory, extra, filepath, free, freer, gauge, lens-aeson, logging, microlens
, mtl, network, newtype-generics, process, random, safe-exceptions
, servant, servant-client, servant-server, stdenv, stm, text, time
, transformers, transformers-either, unordered-containers, uuid
, vector, warp, yaml, wai, base-compat, lens, http-client, http-types
, hspec-wai, swagger2, servant-swagger, servant-docs natural-transformation
}:
mkDerivation {
pname = "servantEcho";
version = "0.1.0.0";
src = ./.;
isLibrary = false;
isExecutable = true;
libraryHaskellDepends = [
aeson async base bytestring clock containers directory extra
filepath free freer gauge lens-aeson logging microlens mtl network
newtype-generics process random safe-exceptions servant
servant-client servant-server stm text time transformers
transformers-either unordered-containers uuid vector warp yaml
wai base-compat lens http-client http-types hspec-wai swagger2
servant-swagger servant-docs natural-transformation
];
executableHaskellDepends = [ base ];
doHaddock = false;
doCheck = false;
description = "Test servant app";
license = stdenv.lib.licenses.bsd3;
}