summaryrefslogtreecommitdiffstats
path: root/sensors.cabal
blob: 5a96910d72692fe519f0af3278c4eb2e5e19be40 (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
cabal-version: 3.4
name:          sensors
version:       0.1.0.0
license:       BSD-3-Clause
license-file:  LICENSE
maintainer:    aforemny@posteo.de
author:        Alexander Foremny
build-type:    Simple

library
    exposed-modules:    Data.Sensor
    hs-source-dirs:     src
    default-language:   GHC2021
    default-extensions:
        StrictData AllowAmbiguousTypes Arrows BlockArguments
        DuplicateRecordFields FunctionalDependencies ImpredicativeTypes
        LambdaCase MultiWayIf OverloadedRecordDot PartialTypeSignatures
        RecordWildCards ViewPatterns

    ghc-options:        -Wall -fno-warn-name-shadowing
    build-depends:
        base,
        containers,
        hspec,
        mtl,
        stm,
        transformers-base,
        unlift,
        unliftio

test-suite sensors-test
    type:               exitcode-stdio-1.0
    main-is:            Spec.hs
    hs-source-dirs:     test
    other-modules:
        AggregateSpec
        PureSpec

    default-language:   GHC2021
    default-extensions:
        Arrows BlockArguments NoFieldSelectors OverloadedRecordDot
        UndecidableInstances

    ghc-options:        -Wall
    build-depends:
        base,
        hspec,
        mtl,
        sensors