summaryrefslogtreecommitdiff
path: root/custom/bar/generated.nix
blob: e194763219044dfbe09c40e10f521fb7bcd5608c (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
{ mkDerivation, aeson, base, bytestring, classy-prelude
, classy-prelude-yesod, conduit, containers, fast-logger, fetchgit
, file-embed, foreign-store, hashids, hpack, http-conduit, lens
, monad-logger, mtl, persistent, persistent-postgresql
, persistent-template, shakespeare, stdenv, systemd
, template-haskell, text, time, unordered-containers, vector, wai
, wai-extra, wai-logger, warp, yaml, yesod, yesod-core, yesod-form
, yesod-static, thermoprint-client ? null
}:
mkDerivation {
  pname = "bar";
  version = "0.6.6";
  src = fetchgit {
    url = "git://git.yggdrasil.li/gkleen/pub/bar";
    sha256 = "18f9k5lzv872h5mgjnbsq7a6v793k54h0bxgvc625qm42w4fh98g";
    rev = "2cb80224e382e046e59d65137cd5403974a5759a";
  };
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [
    aeson base bytestring classy-prelude classy-prelude-yesod conduit
    containers fast-logger file-embed hashids http-conduit lens
    monad-logger mtl persistent persistent-postgresql
    persistent-template shakespeare systemd template-haskell text time
    unordered-containers vector wai wai-extra wai-logger warp yaml
    yesod yesod-core yesod-form yesod-static
  ] ++ (if thermoprint-client != null then [thermoprint-client] else []);
  configureFlags = if thermoprint-client != null then [ "thermoprint" ] else [];
  libraryToolDepends = [ hpack ];
  executableHaskellDepends = [ base foreign-store warp ];
  doHaddock = false;
  preConfigure = "hpack";
  license = stdenv.lib.licenses.unfree;
  hydraPlatforms = stdenv.lib.platforms.none;
}