aboutsummaryrefslogtreecommitdiff
path: root/servant/servant.nix
blob: 5ea8d5943a52afd3f74fabbcbafbd62a37e9b1a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ mkDerivation
, stdenv
, base
, thermoprint
, aeson, wai, servant-server, warp, optparse-applicative, persistent
, persistent-template, persistent-sqlite, monad-logger
}:

mkDerivation {
  pname = "thermoprint-servant";
  version = "0.0.0";
  src = ./.; 
  isLibrary = true;
  isExecutable = true;
  executableHaskellDepends = [
    base thermoprint aeson wai servant-server warp optparse-applicative
    persistent persistent-template persistent-sqlite monad-logger
  ];
  homepage = "git://git.yggdrasil.li/thermoprint";
  description = "Server for interfacing to cheap thermoprinters";
  license = stdenv.lib.licenses.publicDomain;
}