summaryrefslogtreecommitdiff
path: root/bahnhof-name.cabal
blob: 10f9c7543d02f737d9ea44bc1b6e8f1c25e8903f (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
cabal-version:      3.0
name:               bahnhof-name
-- PVP summary:     +-+------- breaking API changes
--                  | | +----- non-breaking API additions
--                  | | | +--- code changes with no API change
version:            0.2.0.0
synopsis:           Serve information on German railway stations
license:            EUPL-1.2
license-file:       LICENSE
author:             stuebinm
maintainer:         stuebinm@disroot.org
build-type:         Simple
extra-doc-files:    CHANGELOG.md
extra-source-files: data/*

common warnings
    ghc-options: -Wall

executable bahnhof-name
    import:           warnings

    main-is:          Main.hs
    hs-source-dirs:   app
    build-depends:    base ^>=4.16.4.0
                    , fuzzyset
                    , fuzzyfind
                    , text
                    , vector
                    , cassava
                    , bytestring
                    , wai
                    , wai-extra
                    , warp
                    , http-types
                    , containers
                    , http-client
                    , http-client-openssl
                    , stm
                    , time
    default-language: GHC2021
    ghc-options: -threaded -with-rtsopts=--nonmoving-gc