aboutsummaryrefslogtreecommitdiff
path: root/server/thermoprint-server.nix
blob: ff8ebd48e047428d4acd1fad9315a893a6906744 (plain)
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
30
31
32
33
34
35
36
37
{ mkDerivation, async, base, binary, bytestring, conduit
, constraints, containers, data-default-class, deepseq, dyre
, either, encoding, exceptions, extended-reals, filelock, hspec
, mmorph, monad-control, monad-logger, mtl, network-uri, persistent
, persistent-sqlite, persistent-template, QuickCheck
, quickcheck-instances, resourcet, servant, servant-server, stdenv
, stm, temporary, text, thermoprint-client, thermoprint-spec, time
, transformers, wai, wai-websockets, warp, websockets
}:
mkDerivation {
  pname = "thermoprint-server";
  version = "1.1.0";
  src = ./.;
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [
    base binary bytestring conduit constraints containers
    data-default-class deepseq dyre either encoding exceptions
    extended-reals filelock mmorph monad-control monad-logger mtl
    network-uri persistent persistent-template QuickCheck
    quickcheck-instances resourcet servant servant-server stm text
    thermoprint-spec time transformers wai wai-websockets warp
    websockets
  ];
  executableHaskellDepends = [
    base monad-logger mtl persistent-sqlite resourcet
  ];
  testHaskellDepends = [
    async base containers exceptions hspec monad-logger mtl
    persistent-sqlite QuickCheck quickcheck-instances resourcet stm
    temporary text thermoprint-client thermoprint-spec transformers
    warp
  ];
  homepage = "http://dirty-haskell.org/tags/thermoprint.html";
  description = "Server for thermoprint-spec";
  license = stdenv.lib.licenses.publicDomain;
}