summaryrefslogtreecommitdiffstats
path: root/sensors.cabal
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-07-25 09:42:11 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-08-08 15:46:58 +0200
commit272b3ace747857729171780edae898819d211832 (patch)
tree5e791779a318521175104a7e9140dc186c4b3d54 /sensors.cabal
init
Diffstat (limited to 'sensors.cabal')
-rw-r--r--sensors.cabal47
1 files changed, 47 insertions, 0 deletions
diff --git a/sensors.cabal b/sensors.cabal
new file mode 100644
index 0000000..844aae2
--- /dev/null
+++ b/sensors.cabal
@@ -0,0 +1,47 @@
+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,
+ 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