Query tankerkönig API with given apikey and station
This commit is contained in:
parent
b5d61674d8
commit
6603e65131
6 changed files with 242 additions and 48 deletions
135
tk2mqtt.cabal
Normal file
135
tk2mqtt.cabal
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
cabal-version: 1.12
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.36.1.
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
|
||||
name: tk2mqtt
|
||||
version: 0.0.1.0
|
||||
description: Tankerkönig-to-MQTT gateway
|
||||
author: Alexander Kobjolke
|
||||
maintainer: alex@jakalx.net
|
||||
copyright: Alexander Kobjolke 2023
|
||||
license: MIT
|
||||
build-type: Simple
|
||||
extra-source-files:
|
||||
README.org
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
TK2MQTT
|
||||
TK2MQTT.Internal
|
||||
other-modules:
|
||||
Paths_tk2mqtt
|
||||
hs-source-dirs:
|
||||
src
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
OverloadedStrings
|
||||
ImportQualifiedPost
|
||||
ghc-options: -Wall -fdefer-typed-holes -threaded
|
||||
build-depends:
|
||||
aeson
|
||||
, base >=4.13 && <5
|
||||
, bytestring
|
||||
, containers
|
||||
, directory
|
||||
, effectful
|
||||
, net-mqtt
|
||||
, network-uri
|
||||
, process
|
||||
, req
|
||||
, text
|
||||
, time
|
||||
default-language: GHC2021
|
||||
|
||||
executable tk2mqtt
|
||||
main-is: tk2mqtt.hs
|
||||
other-modules:
|
||||
Paths_tk2mqtt
|
||||
hs-source-dirs:
|
||||
app
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
OverloadedStrings
|
||||
ImportQualifiedPost
|
||||
ghc-options: -Wall -fdefer-typed-holes -threaded
|
||||
build-depends:
|
||||
aeson
|
||||
, base >=4.13 && <5
|
||||
, bytestring
|
||||
, containers
|
||||
, directory
|
||||
, effectful
|
||||
, net-mqtt
|
||||
, network-uri
|
||||
, process
|
||||
, req
|
||||
, text
|
||||
, time
|
||||
, tk2mqtt
|
||||
default-language: GHC2021
|
||||
|
||||
test-suite doctest
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Doctest.hs
|
||||
other-modules:
|
||||
Paths_tk2mqtt
|
||||
hs-source-dirs:
|
||||
test/doctest
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
OverloadedStrings
|
||||
ImportQualifiedPost
|
||||
ghc-options: -Wall -fdefer-typed-holes -threaded
|
||||
build-tool-depends:
|
||||
doctest:doctest
|
||||
build-depends:
|
||||
aeson
|
||||
, base >=4.13 && <5
|
||||
, bytestring
|
||||
, containers
|
||||
, directory
|
||||
, effectful
|
||||
, net-mqtt
|
||||
, network-uri
|
||||
, process
|
||||
, req
|
||||
, text
|
||||
, time
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite spec
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Spec.hs
|
||||
other-modules:
|
||||
TK2MQTTSpec
|
||||
Paths_tk2mqtt
|
||||
hs-source-dirs:
|
||||
test/spec
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
OverloadedStrings
|
||||
ImportQualifiedPost
|
||||
ghc-options: -Wall -fdefer-typed-holes -threaded
|
||||
cpp-options: -DTEST
|
||||
build-tool-depends:
|
||||
hspec-discover:hspec-discover
|
||||
build-depends:
|
||||
QuickCheck
|
||||
, aeson
|
||||
, base >=4.13 && <5
|
||||
, bytestring
|
||||
, containers
|
||||
, directory
|
||||
, effectful
|
||||
, hspec
|
||||
, net-mqtt
|
||||
, network-uri
|
||||
, process
|
||||
, quickcheck-instances
|
||||
, req
|
||||
, text
|
||||
, time
|
||||
, tk2mqtt
|
||||
default-language: GHC2021
|
||||
Loading…
Add table
Add a link
Reference in a new issue