From 272b3ace747857729171780edae898819d211832 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Thu, 25 Jul 2024 09:42:11 +0200 Subject: init --- sensors.cabal | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 sensors.cabal (limited to 'sensors.cabal') 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 -- cgit v1.2.3