aboutsummaryrefslogtreecommitdiff
path: root/server/thermoprint-server.nix
blob: a33e6db387d1e7302e5ba6d3c23609ddd3391acd (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
{ mkDerivation, base, conduit, containers, data-default-class
, deepseq, dyre, either, exceptions, extended-reals, 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 conduit containers data-default-class deepseq dyre either
    exceptions extended-reals 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
  ];
  homepage = "http://dirty-haskell.org/tags/thermoprint.html";
  description = "Server for thermoprint-spec";
  license = stdenv.lib.licenses.publicDomain;
}