aboutsummaryrefslogtreecommitdiff
path: root/server/thermoprint-server.nix
blob: 77911a8ea405a25e887f6081becef24c997fd372 (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
{ 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, text, thermoprint-spec, time
, transformers, wai, warp
}:
mkDerivation {
  pname = "thermoprint-server";
  version = "0.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 hspec QuickCheck quickcheck-instances thermoprint-spec
  ];
  homepage = "http://dirty-haskell.org/tags/thermoprint.html";
  description = "Server for thermoprint-spec";
  license = stdenv.lib.licenses.publicDomain;
}