summaryrefslogtreecommitdiff
path: root/overlays/spm/package.yaml
blob: c144084638d023158755566ecbc0eebaee696697 (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
93
94
95
96
97
98
99
100
101
102
103
104
105
name: spm
version: 0.1.0

default-extensions:
  - NoImplicitPrelude
  - DerivingStrategies
  - DeriveAnyClass
  - DataKinds
  - RecordWildCards
  - TypeFamilies
  - LambdaCase
  - ViewPatterns
  - MultiWayIf
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
      - th-lift-instances
      - template-haskell
      - MonadRandom
      - cryptonite
      - vector
      - file-embed
      - random
      - time
      - lens-aeson
      - wai-app-static
      - file-embed

    source-dirs:
      - server

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

    source-dirs:
      - provision

    main: Spm.Provision