summaryrefslogtreecommitdiff
path: root/overlays/spm/spm.nix
blob: 533f190a935f5bac8d2dfcb1ef79321c880db305 (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, aeson, attoparsec, base, bytestring
, case-insensitive, cryptonite, exceptions, file-embed, filepath
, hpack, http-api-data, http-types, jose, lens, lens-aeson, lib
, mmorph, monad-logger, MonadRandom, mtl, optparse-applicative
, path-pieces, persistent, persistent-postgresql, random
, resource-pool, servant, servant-server, template-haskell, text
, th-lift-instances, time, transformers, unliftio-core, uuid
, vector, wai, wai-app-static, wai-extra, warp, warp-systemd
}:
mkDerivation {
  pname = "spm";
  version = "0.1.0";
  src = ./.;
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [
    aeson base case-insensitive jose lens servant text uuid
  ];
  libraryToolDepends = [ hpack ];
  executableHaskellDepends = [
    aeson attoparsec base bytestring case-insensitive cryptonite
    exceptions file-embed filepath http-api-data http-types jose lens
    lens-aeson mmorph monad-logger MonadRandom mtl optparse-applicative
    path-pieces persistent persistent-postgresql random resource-pool
    servant-server template-haskell text th-lift-instances time
    transformers unliftio-core uuid vector wai wai-app-static wai-extra
    warp warp-systemd
  ];
  prePatch = "hpack";
  license = lib.licenses.agpl3Plus;
}