summaryrefslogtreecommitdiff
path: root/hosts/surtr/email/spm/package.yaml
blob: 4859e38ccfe497969af70442649bd7c6e2b82d70 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: spm
version: 0.1.0

default-extensions:
  - NoImplicitPrelude
  - DerivingStrategies
  - DeriveAnyClass
  - DataKinds
  - RecordWildCards
  - TypeFamilies
  - LambdaCase
other-extensions:
  - OverloadedStrings
  - TemplateHaskell
  - QuasiQuotes
  - UndecidableInstances
language: GHC2021
license: AGPL-3.0-or-later
ghc-options:
  - -Wall
  - -Wmissing-home-modules
  - -Wredundant-constraints
  - -Widentities
  - -Wincomplete-uni-patterns
  - -Werror
  - -fwarn-tabs
  - -j -O

library:
  dependencies:
    - base
    - servant
    - text
    - lens
    - case-insensitive
    - aeson
    - jose
    - uuid
  source-dirs:
    - lib

executables:
  spm-server:
    dependencies:
      - spm
      - base
      - servant-server
      - warp-systemd
      - warp
      - attoparsec
      - text
      - bytestring
      - wai
      - wai-extra
      - lens
      - case-insensitive
      - http-types
      - persistent
      - persistent-postgresql
      - uuid
      - path-pieces
      - transformers
      - mtl
      - resource-pool
      - monad-logger
      - mmorph
      - unliftio-core
      - http-api-data
      - exceptions
      - aeson
      - filepath
      - jose

    source-dirs:
      - server

    main: Spm.Server
  spm-provision:
    dependencies:
      - base
      - jose
      - uuid
      - optparse-applicative
      - text
      - aeson
      - bytestring
      - lens

    source-dirs:
      - provision

    main: Spm.Provision