aboutsummaryrefslogtreecommitdiff
path: root/server/thermoprint-server.nix
blob: f472cbcb1aad215978ec7c15a22f2e9133b3d556 (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
{ mkDerivation, base, binary, bytestring, conduit, containers
, data-default-class, deepseq, dyre, either, encoding, exceptions
, extended-reals, filelock, hspec, mmorph, monad-control
, monad-logger, mtl, persistent, persistent-sqlite
, persistent-template, QuickCheck, quickcheck-instances, resourcet
, servant-server, stdenv, stm, temporary, text, thermoprint-client
, thermoprint-spec, time, transformers, wai, warp
}:
mkDerivation {
  pname = "thermoprint-server";
  version = "1.0.0";
  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 persistent
    persistent-template resourcet servant-server stm text
    thermoprint-spec time transformers wai warp
  ];
  executableHaskellDepends = [
    base monad-logger mtl persistent-sqlite resourcet
  ];
  testHaskellDepends = [
    base 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;
}