aboutsummaryrefslogtreecommitdiff
path: root/server/thermoprint-server.nix
blob: 71a4211dfffce0bd48a1fb2dc8d845364218ce3c (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
{ mkDerivation, async, base, binary, bytestring, conduit
, containers, data-default-class, deepseq, dyre, either, encoding
, exceptions, extended-reals, filelock, hspec, http-types, 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 = "2.0.1";
  src = ./.;
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [
    base binary bytestring conduit 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 bytestring containers exceptions hspec http-types
    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;
}